Repository : ssh://git@open-mesh.org/batctl
On branch : next
commit 20cd68b1b6f5b03e23c3bfdf4449201e1d31a5d6 Author: Marek Lindner lindner_marek@yahoo.de Date: Sun May 12 16:15:25 2013 +0800
batctl: fix false uninitialized variable warning when compiling with O2
Signed-off-by: Marek Lindner lindner_marek@yahoo.de
20cd68b1b6f5b03e23c3bfdf4449201e1d31a5d6 functions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/functions.c b/functions.c index a025395..cc05a48 100644 --- a/functions.c +++ b/functions.c @@ -458,7 +458,7 @@ static void request_arp(uint32_t ipv4_addr) static struct ether_addr *resolve_mac_from_arp(uint32_t ipv4_addr) { struct ether_addr mac_empty; - struct ether_addr *mac_result = NULL, *mac_tmp; + struct ether_addr *mac_result = NULL, *mac_tmp = NULL; struct sockaddr_in inet4; int ret; FILE *f;