From patchwork Sun May 12 08:15:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Lindner X-Patchwork-Id: 3009 Return-Path: Received: from nm25-vm7.bullet.mail.sg3.yahoo.com (nm25-vm7.bullet.mail.sg3.yahoo.com [106.10.151.102]) by open-mesh.org (Postfix) with ESMTPS id 8351C602193 for ; Sun, 12 May 2013 10:15:39 +0200 (CEST) Received: from [106.10.166.117] by nm25.bullet.mail.sg3.yahoo.com with NNFMP; 12 May 2013 08:15:36 -0000 Received: from [106.10.167.138] by tm6.bullet.mail.sg3.yahoo.com with NNFMP; 12 May 2013 08:15:36 -0000 Received: from [127.0.0.1] by smtp111.mail.sg3.yahoo.com with NNFMP; 12 May 2013 08:15:36 -0000 X-Yahoo-Newman-Id: 522167.40577.bm@smtp111.mail.sg3.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: PvL7u4cVM1mTZuLKBaUMxpPfYttZwpjf_yQVJum0EJdj0T6 KF8NsgiIaMQXf_tmUyHg3zY93NUKFZhuC67leL_3blfy8UEtu9jWn1ND7UNt Xde7AoLG26kuu5LsQgrdFJB1H4w4JDFY.0uxpn112h11MlxZy65ZZ7I53zsd nbrCcIEKj7SJjBOlN7qFe6isdJm7PzN8XKS0BlC_jJY30bX4vjSdESCEcsDU Uy4wKfWwcJ9bYQJ5PDj5QMUZL1jXFIndiiZonk8KdMfphyoew2thrbGA7R1f o18u6.TaXgMWPgwjtsoKobf7W7iZi_E2rUGvEsKip2xbZm1OMO9d96.QXPgu cvYqRrHsmaOI9e0_vdmHziWtIqwAloQY3YC_.WoQZE_qA2JSq5vbpUQIq1Y3 5iuOeYeDpwkV2U0aaIwArlZpxzh0L9K.v0hXjH21U_jqVqHu2qz9GYJ4BaRw - X-Yahoo-SMTP: tW.h3tiswBBMXO2coYcbPigGD5Lt6zY_.Zc- X-Rocket-Received: from localhost (lindner_marek@42.98.130.193 with ) by smtp111.mail.sg3.yahoo.com with SMTP; 12 May 2013 01:15:36 -0700 PDT From: Marek Lindner To: b.a.t.m.a.n@lists.open-mesh.org Date: Sun, 12 May 2013 16:15:25 +0800 Message-Id: <1368346525-15171-1-git-send-email-lindner_marek@yahoo.de> X-Mailer: git-send-email 1.7.10.4 Cc: Marek Lindner Subject: [B.A.T.M.A.N.] [PATCH] batctl: fix false uninitialized variable warning when compiling with O2 X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 May 2013 08:15:41 -0000 Signed-off-by: Marek Lindner --- 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;