summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fe9ba13)
raw | patch | inline | side by side (parent: fe9ba13)
author | Doug MacEachern <dougm@hyperic.com> | |
Tue, 5 May 2009 07:37:00 +0000 (09:37 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 5 May 2009 07:37:00 +0000 (09:37 +0200) |
iptables.c: In function 'iptables_config':
iptables.c:99: warning: 'ip_version' is used uninitialized in this function
Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
iptables.c:99: warning: 'ip_version' is used uninitialized in this function
Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
src/iptables.c | patch | blob | history |
diff --git a/src/iptables.c b/src/iptables.c
index fb887da6ed28d4f01703ca3f93ffa7e7faba9fad..3062a0cd400ae48dad430efdd9a831aab2500a69 100644 (file)
--- a/src/iptables.c
+++ b/src/iptables.c
static int iptables_config (const char *key, const char *value)
{
/* int ip_value; */
- protocol_version_t ip_version;
+ protocol_version_t ip_version = 0;
if (strcasecmp (key, "Chain") == 0)
ip_version = IPV4;