The following commit has been merged in the master branch:
commit 842e66ae6790805d87b51129b560d1a6b0e526b3
Author: Guillem Jover <guil...@debian.org>
Date:   Tue Aug 2 04:56:00 2011 +0200

    libdpkg: Remove trailing semicolons from getc_mmap and ungetc_mmap
    
    Those are unnecessary as these are function macros which need to be
    followed by semicolons on the call sites.

diff --git a/lib/dpkg/parse.c b/lib/dpkg/parse.c
index 58b3110..898f996 100644
--- a/lib/dpkg/parse.c
+++ b/lib/dpkg/parse.c
@@ -369,8 +369,8 @@ int parsedb(const char *filename, enum parsedbflags flags,
 
   pdone= 0;
 #define EOF_mmap(dataptr, endptr)      (dataptr >= endptr)
-#define getc_mmap(dataptr)             *dataptr++;
-#define ungetc_mmap(c, dataptr, data)  dataptr--;
+#define getc_mmap(dataptr)             *dataptr++
+#define ungetc_mmap(c, dataptr, data)  dataptr--
 
   /* Loop per package. */
   for (;;) {

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to