Problem: Compiler warning in xdiff code. (Yegappan Lakshmanan)
Solution: Initialize directly.
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 364,
/**/
363,
/**/
The code is distributed under the GNU LGPL license. It is included in the
COPYING file.
+Changes in these files were made to avoid compiler warnings.
+
The first work for including xdiff in Vim was done by Christian Brabandt.
long s1, s2, e1, e2, lctx;
xdchange_t *xch, *xche;
long funclineprev = -1;
- struct func_line func_line = { 0 };
+ struct func_line func_line;
+
+ func_line.len = 0;
for (xch = xscr; xch; xch = xche->next) {
xche = xdl_get_hunk(&xch, xecfg);