##// END OF EJS Templates
Fix possible unitialized variable warnings
mpm@selenic.com -
r970:bf375e93 default
parent child Browse files
Show More
@@ -253,7 +253,7 b' static PyObject *blocks(PyObject *self, '
253 {
253 {
254 PyObject *sa, *sb, *rl = NULL, *m;
254 PyObject *sa, *sb, *rl = NULL, *m;
255 struct line *a, *b;
255 struct line *a, *b;
256 struct hunklist l;
256 struct hunklist l = {NULL, NULL};
257 struct hunk *h;
257 struct hunk *h;
258 int an, bn, pos = 0;
258 int an, bn, pos = 0;
259
259
@@ -287,7 +287,7 b' static PyObject *bdiff(PyObject *self, P'
287 {
287 {
288 PyObject *sa, *sb, *result = NULL;
288 PyObject *sa, *sb, *result = NULL;
289 struct line *al, *bl;
289 struct line *al, *bl;
290 struct hunklist l;
290 struct hunklist l = {NULL, NULL};
291 struct hunk *h;
291 struct hunk *h;
292 char encode[12], *rb;
292 char encode[12], *rb;
293 int an, bn, len = 0, la = 0, lb = 0;
293 int an, bn, len = 0, la = 0, lb = 0;
General Comments 0
You need to be logged in to leave comments. Login now