changeset 27342:673ba59669b5

pathencode: remove an unused assignment
author Bryan O'Sullivan <bos@serpentine.com>
date Sat, 12 Dec 2015 20:59:37 -0800
parents 5042b999ef0a
children c59647c6694d
files mercurial/pathencode.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/pathencode.c	Sat Dec 12 20:57:01 2015 -0800
+++ b/mercurial/pathencode.c	Sat Dec 12 20:59:37 2015 -0800
@@ -517,8 +517,7 @@
 	newlen = _lowerencode(NULL, 0, path, len);
 	ret = PyString_FromStringAndSize(NULL, newlen);
 	if (ret)
-		newlen = _lowerencode(PyString_AS_STRING(ret), newlen,
-				      path, len);
+		_lowerencode(PyString_AS_STRING(ret), newlen, path, len);
 
 	return ret;
 }