Mercurial > vim
diff src/ex_cmds.c @ 1869:720a59d79bcd
updated for version 7.2-168
author | vimboss |
---|---|
date | Wed, 13 May 2009 10:51:08 +0000 |
parents | 954947a70580 |
children | f13849167330 |
line wrap: on
line diff
--- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -1789,7 +1789,7 @@ write_viminfo(file, forceit) * overwrite a user's viminfo file after a "su root", with a * viminfo file that the user can't read. */ - st_old.st_dev = 0; + st_old.st_dev = (dev_t)0; st_old.st_ino = 0; st_old.st_mode = 0600; if (mch_stat((char *)fname, &st_old) == 0 @@ -3715,7 +3715,7 @@ do_ecmd(fnum, ffname, sfname, eap, newln /* If the window options were changed may need to set the spell language. * Can only do this after the buffer has been properly setup. */ if (did_get_winopts && curwin->w_p_spell && *curbuf->b_p_spl != NUL) - did_set_spelllang(curbuf); + (void)did_set_spelllang(curbuf); #endif if (command == NULL) @@ -3788,7 +3788,7 @@ do_ecmd(fnum, ffname, sfname, eap, newln #ifdef FEAT_KEYMAP if (curbuf->b_kmap_state & KEYMAP_INIT) - keymap_init(); + (void)keymap_init(); #endif --RedrawingDisabled;