From 9b49f78bb11df6afaabad78a1f65d831baf9cadf Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 15 Mar 2006 18:24:51 +0000 Subject: bogus idiom --- usr.bin/cvs/cvs.c | 4 ++-- 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 * 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 * 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)); -- cgit v1.2.3