author | mpm@selenic.com |
Sat, 20 Aug 2005 01:29:04 -0700 | |
changeset 970 | bf375e93073b |
parent 969 | 1d5b97537561 |
child 971 | eac9c8efcd9b |
mercurial/bdiff.c | file | annotate | diff | comparison | revisions |
--- a/mercurial/bdiff.c Sat Aug 20 00:49:41 2005 -0700 +++ b/mercurial/bdiff.c Sat Aug 20 01:29:04 2005 -0700 @@ -253,7 +253,7 @@ { PyObject *sa, *sb, *rl = NULL, *m; struct line *a, *b; - struct hunklist l; + struct hunklist l = {NULL, NULL}; struct hunk *h; int an, bn, pos = 0; @@ -287,7 +287,7 @@ { PyObject *sa, *sb, *result = NULL; struct line *al, *bl; - struct hunklist l; + struct hunklist l = {NULL, NULL}; struct hunk *h; char encode[12], *rb; int an, bn, len = 0, la = 0, lb = 0;