diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-03-15 18:24:51 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-03-15 18:24:51 +0000 |
commit | 9b49f78bb11df6afaabad78a1f65d831baf9cadf (patch) | |
tree | 4ac659a76cee59c52d40b83a9af62aee2bad3202 | |
parent | 8eba1e0b81061e8513cfdc2313b7f70c481dfc4f (diff) |
bogus idiom
-rw-r--r-- | usr.bin/cvs/cvs.c | 4 | ||||
-rw-r--r-- | usr.bin/cvs/proto.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/cvs/cvs.c b/usr.bin/cvs/cvs.c index 4edd5798e70..8aca8a8b68f 100644 --- a/usr.bin/cvs/cvs.c +++ b/usr.bin/cvs/cvs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cvs.c,v 1.94 2006/01/29 11:17:09 xsa Exp $ */ +/* $OpenBSD: cvs.c,v 1.95 2006/03/15 18:24:50 deraadt Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -373,7 +373,7 @@ cvs_read_rcfile(void) /* skip any whitespaces */ p = linebuf; while (*p == ' ') - *p++; + p++; /* allow comments */ if (*p == '#') diff --git a/usr.bin/cvs/proto.c b/usr.bin/cvs/proto.c index ff2bf2c3031..772c3bb3f30 100644 --- a/usr.bin/cvs/proto.c +++ b/usr.bin/cvs/proto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: proto.c,v 1.90 2006/02/08 19:24:19 joris Exp $ */ +/* $OpenBSD: proto.c,v 1.91 2006/03/15 18:24:50 deraadt Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -944,7 +944,7 @@ cvs_initlog(void) s = buf; while ((s = strchr(s, '%')) != NULL) { - *s++; + s++; switch (*s) { case 'c': strlcpy(fpath, cvs_command, sizeof(fpath)); |