summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-29 21:17:21 -0700
committerJunio C Hamano <junkio@cox.net>2005-08-29 21:17:21 -0700
commit5de36bfec9beb65f8d0328b367dcf0e7d74d30bb (patch)
tree746e533303dd2245042defb0484458fdb879c846 /diff.c
parentcf6de18aabf774dfce7efd9c59babfe9d909d433 (diff)
downloadgit-5de36bfec9beb65f8d0328b367dcf0e7d74d30bb.tar.gz
Fix compilation warnings.
... found by compiling them with gcc 2.95. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.c b/diff.c
index 9015c81d76..527cbf04ad 100644
--- a/diff.c
+++ b/diff.c
@@ -704,7 +704,7 @@ static int parse_num(const char **cp_p)
scale *= 10;
num = num * 10 + ch - '0';
}
- *cp++;
+ cp++;
}
*cp_p = cp;