changeset 23964:f1c127df7c4f stable

diffhelpers: fix botched return statement from c8e7fa41bfc5 Spotted by Sean Farley using clang.
author Augie Fackler <raf@durin42.com>
date Wed, 28 Jan 2015 13:34:20 -0500
parents 8f02682ff3b0
children 6156edaa82aa
files mercurial/diffhelpers.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 == '+') {