|
From: | Axel Lin |
Subject: | [lwip-devel] [patch #8821] memp: Fixup LWIP_HOOK_MEMP_AVAILABLE() hook |
Date: | Fri, 04 Dec 2015 15:00:46 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36 |
URL: <http://savannah.nongnu.org/patch/?8821> Summary: memp: Fixup LWIP_HOOK_MEMP_AVAILABLE() hook Project: lwIP - A Lightweight TCP/IP stack Submitted by: axellin Submitted on: Fri 04 Dec 2015 03:00:44 PM GMT Category: None Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: None _______________________________________________________ Details: I got below build warning if LWIP_HOOK_MEMP_AVAILABLE is defined. src/core/memp.c: In function 'memp_free_pool': src/core/memp.c:352:16: warning: variable 'old_first' set but not used [-Wunused-but-set-variable] struct memp *old_first; ^ src/core/memp.c: In function 'memp_free': src/core/memp.c:413:6: warning: 'old_first' may be used uninitialized in this function [-Wmaybe-uninitialized] if (old_first == NULL) { The LWIP_HOOK_MEMP_AVAILABLE() hook does not work, fix it. Fixes: c838e1ed5b8c ("Implement possibility to declare private memory pools") _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Fri 04 Dec 2015 03:00:44 PM GMT Name: 0001-memp-Fixup-LWIP_HOOK_MEMP_AVAILABLE-hook.patch Size: 3kB By: axellin <http://savannah.nongnu.org/patch/download.php?file_id=35640> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?8821> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |