[PATCH 1 of 7] run-tests: remove unnecessary variable initialisation
Simon Heimberg
simohe at besonet.ch
Thu Feb 13 22:36:55 UTC 2014
# HG changeset patch
# User Simon Heimberg <simohe at besonet.ch>
# Date 1392272968 -3600
# Thu Feb 13 07:29:28 2014 +0100
# Node ID be8f06e69f033b982017c48eb999a089e695875e
# Parent da64679bfc8a761cacb5976efba411362c8bc51e
run-tests: remove unnecessary variable initialisation
ret is always set before it is used, so remove ret = 0
diff -r da64679bfc8a -r be8f06e69f03 tests/run-tests.py
--- a/tests/run-tests.py Thu Feb 13 13:08:50 2014 +0100
+++ b/tests/run-tests.py Thu Feb 13 07:29:28 2014 +0100
@@ -778,7 +778,6 @@
pos = -1
postout = []
- ret = 0
for l in output:
lout, lcmd = l, None
if salt in l:
More information about the Mercurial-devel
mailing list