summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2013-10-31 11:15:07 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2013-10-31 11:15:07 +0100
commit174169e144d89fddbae531ae68ca04d9c3377e5f (patch)
treead87f9e8595b0167e25adbded7d8920f8ce33433 /tools
parentfcf19a18767882d90492c1e681059fd779248035 (diff)
Fix some random uninitialized-var warnings
Besides on r = 0; initialization, all of these are false warnings. Stupid gcc.. Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/openwfd_ie.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/openwfd_ie.c b/tools/openwfd_ie.c
index 334e455..7eb6911 100644
--- a/tools/openwfd_ie.c
+++ b/tools/openwfd_ie.c
@@ -122,6 +122,10 @@ static void print_ie(const void *data, size_t len)
}
col = NULL;
+ c = NULL;
+ sub = NULL;
+ sl = 0;
+
while (len > 0) {
ie = data;