]> mj.ucw.cz Git - pciutils.git/commitdiff
Squashed compiler warnings about code with no effect
authorMartin Mares <mj@ucw.cz>
Thu, 29 Nov 2007 12:48:43 +0000 (13:48 +0100)
committerMartin Mares <mj@ucw.cz>
Thu, 29 Nov 2007 12:48:43 +0000 (13:48 +0100)
(there really were surplus *'s).

ChangeLog
lib/dump.c

index 08365365c8ee30bb38527255fb75f4ebddf6a853..c8686543d6ba06bdbed8dcc60717b215360ec70e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-29  Martin Mares <mj@ucw.cz>
+
+       * lib/dump.c: Squashed compiler warnings about code with
+       no effect (there really were surplus *'s).
+
 2007-11-06  Martin Mares <mj@ucw.cz>
 
        * Released as 2.2.9.
index 0915b005e503265fbd45f1d02a50b98db7e89c33..04837e64f193304b9270cc4cf84df8a6ca9b8d9b 100644 (file)
@@ -41,7 +41,7 @@ dump_validate(char *s, char *fmt)
     {
       if (*fmt == '#' ? !isxdigit(*s) : *fmt != *s)
        return 0;
-      *fmt++, *s++;
+      fmt++, s++;
     }
   return 1;
 }