Mercurial > vim
diff src/ops.c @ 2310:3e4574a4b627 vim73
Fix a few compiler warnings.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 14 Jul 2010 14:28:26 +0200 |
parents | a3562a127cf6 |
children | ccda151dde4e |
line wrap: on
line diff
--- a/src/ops.c +++ b/src/ops.c @@ -4155,7 +4155,8 @@ do_join(count, insert_space, save_undo) char_u *cend; char_u *newp; char_u *spaces; /* number of spaces inserte before a line */ - int endcurr1, endcurr2; + int endcurr1 = NUL; + int endcurr2 = NUL; int currsize = 0; /* size of the current line */ int sumsize = 0; /* size of the long new line */ linenr_T t;