diffhelpers: fix botched return statement from c8e7fa41bfc5 stable
authorAugie Fackler <raf@durin42.com>
Wed, 28 Jan 2015 13:34:20 -0500
branchstable
changeset 23964 f1c127df7c4f
parent 23963 8f02682ff3b0
child 23965 6156edaa82aa
diffhelpers: fix botched return statement from c8e7fa41bfc5 Spotted by Sean Farley using clang.
mercurial/diffhelpers.c
--- a/mercurial/diffhelpers.c	Tue Jan 27 20:57:43 2015 -0500
+++ b/mercurial/diffhelpers.c	Wed Jan 28 13:34:20 2015 -0500
@@ -35,7 +35,7 @@
 
 	hline = PyBytes_FromStringAndSize(l, sz-1);
 	if (!hline) {
-		return NULL;
+		return;
 	}
 
 	if (c == ' ' || c == '+') {