|
From: | address@hidden |
Subject: | Re: [lwip-devel] [PATCH] tcp: fix unused variables when checksum offloading is configured. |
Date: | Thu, 25 Sep 2014 21:09:00 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Richard Cochran wrote:
When offloading TCP checksum generation to hardware, one sets the macro CHECKSUM_GEN_TCP to zero. As a side effect, a local variable becomes orphaned in two functions in the TCP code. This in turn cause compiler warnings about unused variables. This patch fixes the issue by placing the appropriate ifdefs, and it applies to the 1.4.1 branch.
The 1.4.1 branch is *not* continued right now, development is continued for 1.5.0. The bug you mentioned is already fixed in the current code.
Simon
[Prev in Thread] | Current Thread | [Next in Thread] |