From: asterix Date: Tue, 4 Jan 2011 09:28:00 +0000 (+0000) Subject: Filter always the menu warning, for nightly test. X-Git-Tag: 2.7.0~303 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=a74e6ce3c93f189c9e9490137321d32963242e6e;p=bertos.git Filter always the menu warning, for nightly test. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4663 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/gui/menu.c b/bertos/gui/menu.c index 49f056c9..f0e1f407 100644 --- a/bertos/gui/menu.c +++ b/bertos/gui/menu.c @@ -532,9 +532,7 @@ iptr_t menu_handle(const struct Menu *menu) /* Store currently selected item before leaving. */ if (menu->flags & MF_SAVESEL) - #if (ARCH & ARCH_NIGHTTEST) - #warning __FILTER_NEXT_WARNING__ - #endif + #warning __FILTER_NEXT_WARNING__ CONST_CAST(struct Menu *, menu)->selected = selected; return result;