|
From: | Krzysztof Wesołowski |
Subject: | [lwip-devel] [bug #37893] Unused variables in tcp_out (tcphdr) |
Date: | Mon, 10 Dec 2012 11:16:28 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95 Safari/537.11 |
URL: <http://savannah.nongnu.org/bugs/?37893> Summary: Unused variables in tcp_out (tcphdr) Project: lwIP - A Lightweight TCP/IP stack Submitted by: kwesoly Submitted on: Mon 10 Dec 2012 11:16:26 AM GMT Category: TCP Severity: 3 - Normal Item Group: Compiler Warning Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: lwIP version: 1.4.0 _______________________________________________________ Details: Some variables are conditionally unused. This causes compiler warning with specific configuration options. Putting varible declaration and assignments into same conditional directives solves problem. I have attached patch for such changes in tcp_out.c. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mon 10 Dec 2012 11:16:26 AM GMT Name: tcp_out.c.patch Size: 2kB By: kwesoly <http://savannah.nongnu.org/bugs/download.php?file_id=27065> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?37893> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |