]> err.no Git - dpkg/commitdiff
Do not return NULL from a void function
authorTollef Fog Heen <tfheen@err.no>
Sun, 20 Jan 2008 22:38:31 +0000 (23:38 +0100)
committerTollef Fog Heen <tfheen@err.no>
Sun, 20 Jan 2008 22:38:31 +0000 (23:38 +0100)
src/filters.c

index f1d76442777c48d204dfddd544393f83e45e03e0..a8d34d2f1845e02b61be07caacf9c7186ce2f9b5 100644 (file)
@@ -101,7 +101,7 @@ void loadfilters(void) {
   DIR *dir = opendir(dirname);
   if (!dir) {
     if (errno == ENOENT)
-      return NULL;
+      return;
     else 
       ohshite(_("Error opening filters.d"));
   }