Mercurial > hg
changeset 19030:48d6f436363e
parsers: fix variable declaration position issue
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 17 Apr 2013 12:57:26 -0500 |
parents | b5ca14163742 |
children | 341083b02d1b |
files | mercurial/parsers.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/parsers.c Wed Apr 17 21:06:48 2013 +0400 +++ b/mercurial/parsers.c Wed Apr 17 12:57:26 2013 -0500 @@ -1192,6 +1192,7 @@ PyObject *gca = PyList_New(0); int i, v, interesting, left; int maxrev = -1; + long sp; bitmask *seen; for (i = 0; i < revcount; i++) { @@ -1241,7 +1242,7 @@ int p = parents[i]; if (p == -1) continue; - const long sp = seen[p]; + sp = seen[p]; if (sv < poison) { if (sp == 0) { seen[p] = sv;