]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix statement order. Found by Coverity's checker.
authorFlorian Krohm <florian@eich-krohm.de>
Sat, 19 Jan 2013 02:27:41 +0000 (02:27 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sat, 19 Jan 2013 02:27:41 +0000 (02:27 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13241

cachegrind/cg_merge.c

index 97e5863268241c881a3649136623143339cf35ae..a3f676129527f498aeb892be66d0ac8363691a94 100644 (file)
@@ -458,8 +458,8 @@ static Bool parse_ULong ( /*OUT*/ULong* res, /*INOUT*/char** pptr)
    char* ptr = *pptr;
    while (isspace(*ptr)) ptr++;
    if (!isdigit(*ptr)) {
-      return False; /* end of string, or junk */
       *pptr = ptr;
+      return False; /* end of string, or junk */
    }
    u64 = 0;
    while (isdigit(*ptr)) {