From: Tollef Fog Heen Date: Sun, 20 Jan 2008 22:38:31 +0000 (+0100) Subject: Do not return NULL from a void function X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=769d6aac64e3ee2846b694471208673f3d4711c8;p=dpkg Do not return NULL from a void function --- diff --git a/src/filters.c b/src/filters.c index f1d76442..a8d34d2f 100644 --- a/src/filters.c +++ b/src/filters.c @@ -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")); }