The following commit has been merged in the master branch:
commit 9d8edc5884220596d612f7274ec77a3aba701545
Author: Guillem Jover <[email protected]>
Date:   Sun Jul 12 23:55:05 2009 +0200

    Remove unused assert.h includes

diff --git a/dpkg-split/split.c b/dpkg-split/split.c
index a248a18..6243851 100644
--- a/dpkg-split/split.c
+++ b/dpkg-split/split.c
@@ -27,7 +27,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <limits.h>
-#include <assert.h>
 #include <unistd.h>
 #include <string.h>
 #include <sys/stat.h>
diff --git a/dselect/basecmds.cc b/dselect/basecmds.cc
index 08b1050..543b1f5 100644
--- a/dselect/basecmds.cc
+++ b/dselect/basecmds.cc
@@ -27,8 +27,6 @@
 
 #include <stdio.h>
 #include <string.h>
-#include <assert.h>
-
 
 #include <dpkg.h>
 #include <dpkg-db.h>
diff --git a/dselect/bindings.cc b/dselect/bindings.cc
index ece6ce4..ce5b80a 100644
--- a/dselect/bindings.cc
+++ b/dselect/bindings.cc
@@ -26,7 +26,6 @@
 
 #include <stdio.h>
 #include <string.h>
-#include <assert.h>
 
 #include <dpkg.h>
 #include <dpkg-db.h>
diff --git a/src/cleanup.c b/src/cleanup.c
index 5d0edc1..ac0c55c 100644
--- a/src/cleanup.c
+++ b/src/cleanup.c
@@ -29,7 +29,6 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <utime.h>
-#include <assert.h>
 #include <time.h>
 #include <ctype.h>
 #include <fcntl.h>
diff --git a/src/divertdb.c b/src/divertdb.c
index 7c0d7cd..f3a8bfd 100644
--- a/src/divertdb.c
+++ b/src/divertdb.c
@@ -25,7 +25,6 @@
 
 #include <dpkg-i18n.h>
 
-#include <assert.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <fcntl.h>
diff --git a/src/statdb.c b/src/statdb.c
index f78a8b1..d60f667 100644
--- a/src/statdb.c
+++ b/src/statdb.c
@@ -25,7 +25,6 @@
 
 #include <dpkg-i18n.h>
 
-#include <assert.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <fcntl.h>
diff --git a/src/trigcmd.c b/src/trigcmd.c
index d924fd1..5d53e89 100644
--- a/src/trigcmd.c
+++ b/src/trigcmd.c
@@ -28,7 +28,6 @@
 #include <string.h>
 #include <stdlib.h>
 #include <fnmatch.h>
-#include <assert.h>
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/stat.h>
diff --git a/src/update.c b/src/update.c
index 60fcc18..119feda 100644
--- a/src/update.c
+++ b/src/update.c
@@ -28,7 +28,6 @@
 #include <string.h>
 #include <stdlib.h>
 #include <fnmatch.h>
-#include <assert.h>
 #include <unistd.h>
 
 #include <dpkg.h>

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to