Fix a compile warning for bdiff
authormpm@selenic.com
Wed, 22 Jun 2005 11:31:24 -0800
changeset 435 e731d25ddab2
parent 434 08f00b6494f4
child 436 6aeb4fee51f6
Fix a compile warning for bdiff -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fix a compile warning for bdiff manifest hash: 263a8d670a4960f57b6738d41b40626efe1d90d5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD4DBQFCubyMywK+sNU5EO8RAvw5AJ4usI49PlchNMgytp29Fajf+6aGfgCY/7YV PBZf1pfbBH3nO0gEi33CNg== =cw8/ -----END PGP SIGNATURE-----
mercurial/bdiff.c
--- a/mercurial/bdiff.c	Wed Jun 22 11:30:14 2005 -0800
+++ b/mercurial/bdiff.c	Wed Jun 22 11:31:24 2005 -0800
@@ -239,7 +239,7 @@
 
 static PyObject *blocks(PyObject *self, PyObject *args)
 {
-	PyObject *sa, *sb, *rl, *m;
+	PyObject *sa, *sb, *rl = NULL, *m;
 	struct line *a, *b;
 	struct hunklist l;
 	struct hunk *h;