From aecc5db1be11d5ef6f7960a7d8c69c37b9e78211 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Tue, 14 Feb 2012 21:30:38 +0100 Subject: [PATCH] Removed unused variable in ip_debug_print() --- src/core/ipv4/ip.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/core/ipv4/ip.c b/src/core/ipv4/ip.c index 73b66db9..c79a4e98 100644 --- a/src/core/ipv4/ip.c +++ b/src/core/ipv4/ip.c @@ -872,9 +872,6 @@ void ip_debug_print(struct pbuf *p) { struct ip_hdr *iphdr = (struct ip_hdr *)p->payload; - u8_t *payload; - - payload = (u8_t *)iphdr + IP_HLEN; LWIP_DEBUGF(IP_DEBUG, ("IP header:\n")); LWIP_DEBUGF(IP_DEBUG, ("+-------------------------------+\n"));