[PATCH] Warning fix in diff.c
- From
- Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
- Date
- Jun 14, 2005, 14:57 UTC
- Message-ID
- <20050614235750.3156fd24.yuasa@hh.iij4u.or.jp>
This patch had fixed the following warning. Please apply.
cc -g -O2 -Wall '-DSHA1_HEADER="mozilla-sha1/sha1.h"' -c -o diff.o diff.c diff.c: In function `parse_num': diff.c:606: warning: value computed is not used
Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
diff --git a/diff.c b/diff.c --- a/diff.c +++ b/diff.c @@ -603,7 +603,7 @@ static int parse_num(const char **cp_p) scale *= 10; num = num * 10 + ch - '0'; } - *cp++; + cp++; } *cp_p = cp;