public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH] batctl: fix false uninitialized variable warning when compiling with O2
@ 2013-05-12  8:15 Marek Lindner
  2013-05-18  9:49 ` Marek Lindner
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Lindner @ 2013-05-12  8:15 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Marek Lindner

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
---
 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;
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-18  9:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-12  8:15 [B.A.T.M.A.N.] [PATCH] batctl: fix false uninitialized variable warning when compiling with O2 Marek Lindner
2013-05-18  9:49 ` Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox