From: asterix Date: Mon, 3 Jan 2011 09:46:30 +0000 (+0000) Subject: Silent and fix warnings for nigthly test. X-Git-Tag: 2.7.0~307 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=5ce106d6d92a54a113656bfb201f91d51b194028;p=bertos.git Silent and fix warnings for nigthly test. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4659 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/gui/menu.c b/bertos/gui/menu.c index 556985f6..49f056c9 100644 --- a/bertos/gui/menu.c +++ b/bertos/gui/menu.c @@ -269,10 +269,7 @@ static void menu_layout( /* Only print visible items */ if (!(item->flags & MIF_HIDDEN)) { - /* Check if a special render function is supplied, otherwise use defaults */ - #if (ARCH & ARCH_NIGHTTEST) - #warning __FILTER_NEXT_WARNING__ - #endif + #warning __FILTER_NEXT_WARNING__ RenderHook renderhook = (item->flags & MIF_RENDERHOOK) ? (RenderHook)item->label : menu_defaultRenderHook; /* Render menuitem */ diff --git a/bertos/net/nmeap/src/nmeap01.c b/bertos/net/nmeap/src/nmeap01.c index c3912428..8d217f64 100644 --- a/bertos/net/nmeap/src/nmeap01.c +++ b/bertos/net/nmeap/src/nmeap01.c @@ -295,7 +295,7 @@ int nmeap_tokenize(nmeap_context_t *context) */ int nmeap_process(nmeap_context_t *context) { - int id; + int id = 0; int i; nmeap_sentence_t *s; diff --git a/boards/at91sam7x-ek/hw/ntc_map.h b/boards/at91sam7x-ek/hw/ntc_map.h index 6d256be7..9ba05d76 100644 --- a/boards/at91sam7x-ek/hw/ntc_map.h +++ b/boards/at91sam7x-ek/hw/ntc_map.h @@ -42,7 +42,6 @@ #include -#warning TODO:This is an example implentation, you must implement it! /*! \name Enum for ntc devices. * \{