check_acl(): initialize "perm" to eliminate compiler warning.

Provides safe fallback for switch statement, just in case..

Michael
This commit is contained in:
Michael Adam committed 2009-08-04 23:47:27 +02:00
1 parent 14a3e187ee
commit ab4df6edb8
1 file changed
+1 -1
+1 -1
View File
@@ -334,7 +334,7 @@ int
check_acl (const char *ip, const char *host)
{
struct acl_s *acl;
int perm;
int perm = 0;
size_t i;
assert (ip != NULL);