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 2009-08-04 14:44:04 +02:00
parent 14a3e187ee
commit ab4df6edb8

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);