diff options
author | Michael Adam <obnox@samba.org> | 2009-08-04 14:44:04 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-04 23:47:27 +0200 |
commit | ab4df6edb81e5237d8c4b381eae01bb5794e8819 (patch) | |
tree | 1c43000b90526d1aee0b1dafd7563f16369b643f | |
parent | 14a3e187ee6b2a708186917550e5fd73652e996d (diff) | |
download | tinyproxy-ab4df6edb81e5237d8c4b381eae01bb5794e8819.tar.gz tinyproxy-ab4df6edb81e5237d8c4b381eae01bb5794e8819.zip |
check_acl(): initialize "perm" to eliminate compiler warning.
Provides safe fallback for switch statement, just in case..
Michael
-rw-r--r-- | src/acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |