diff options
author | Niall O'Higgins <niallo@cvs.openbsd.org> | 2006-02-16 19:15:31 +0000 |
---|---|---|
committer | Niall O'Higgins <niallo@cvs.openbsd.org> | 2006-02-16 19:15:31 +0000 |
commit | 34b695c9f06dcc15a70d059a685a1604c1c56579 (patch) | |
tree | b7a93a49a27b39fef520f16e63038c6f1d0490dc | |
parent | 2a7e212642bb328159aff158f16a17e9c9b2f97a (diff) |
- zap kwtype variable. lint pointed it out wasn't used by anything.
-rw-r--r-- | usr.bin/rcs/ci.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c index 921a24916e5..0d15ac73db5 100644 --- a/usr.bin/rcs/ci.c +++ b/usr.bin/rcs/ci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ci.c,v 1.99 2006/02/16 18:05:47 niallo Exp $ */ +/* $OpenBSD: ci.c,v 1.100 2006/02/16 19:15:30 niallo Exp $ */ /* * Copyright (c) 2005, 2006 Niall O'Higgins <niallo@openbsd.org> * All rights reserved. @@ -851,7 +851,6 @@ static int checkin_keywordscan(char *data, RCSNUM **rev, time_t *date, char **author, char **state) { - int kwtype; size_t len; u_int i, j, found, end; char *c, *kwstr, *start, buf[128]; @@ -859,7 +858,6 @@ checkin_keywordscan(char *data, RCSNUM **rev, time_t *date, char **author, c = start = kwstr = NULL; i = found = 0; - kwtype = 0; len = strlen(data); for (c = data; *c != '\0' && i < len; *c++) { @@ -877,7 +875,6 @@ checkin_keywordscan(char *data, RCSNUM **rev, time_t *date, char **author, strlen(rcs_expkw[j].kw_str))) { found = 1; kwstr = rcs_expkw[j].kw_str; - kwtype = rcs_expkw[j].kw_type; break; } } |