From b33dfa11bd267d275ffad7aeb2f7fc396f3ee10b Mon Sep 17 00:00:00 2001 From: christos Date: Thu, 8 Mar 2012 20:43:19 +0000 Subject: [PATCH] use the result of strtoul --- external/gpl2/xcvs/dist/src/rcs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/gpl2/xcvs/dist/src/rcs.c b/external/gpl2/xcvs/dist/src/rcs.c index 4c517a254694..8c2570c76f26 100644 --- a/external/gpl2/xcvs/dist/src/rcs.c +++ b/external/gpl2/xcvs/dist/src/rcs.c @@ -823,7 +823,7 @@ warning: duplicate key `%s' in version `%s' of RCS file `%s'", error (1, 0, "\ unrecognized operation '\\x%x' in %s", op, rcs->print_path); - (void) strtoul (cp, (char **) &cp, 10); + count = strtoul (cp, (char **) &cp, 10); if (*cp++ != ' ') error (1, 0, "space expected in %s revision %s", rcs->print_path, vnode->version);