From: Martin Mares Date: Thu, 29 Nov 2007 12:48:43 +0000 (+0100) Subject: Squashed compiler warnings about code with no effect X-Git-Tag: v3.0.0~8^2~1 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=dc01dd60affb4688453f8b7204af66246f0850db;p=pciutils.git Squashed compiler warnings about code with no effect (there really were surplus *'s). --- diff --git a/ChangeLog b/ChangeLog index 0836536..c868654 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-11-29 Martin Mares + + * lib/dump.c: Squashed compiler warnings about code with + no effect (there really were surplus *'s). + 2007-11-06 Martin Mares * Released as 2.2.9. diff --git a/lib/dump.c b/lib/dump.c index 0915b00..04837e6 100644 --- a/lib/dump.c +++ b/lib/dump.c @@ -41,7 +41,7 @@ dump_validate(char *s, char *fmt) { if (*fmt == '#' ? !isxdigit(*s) : *fmt != *s) return 0; - *fmt++, *s++; + fmt++, s++; } return 1; }