Silent and fix warnings for nigthly test.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 3 Jan 2011 09:46:30 +0000 (09:46 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 3 Jan 2011 09:46:30 +0000 (09:46 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4659 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/gui/menu.c
bertos/net/nmeap/src/nmeap01.c
boards/at91sam7x-ek/hw/ntc_map.h

index 556985f645a3ed7cf6c832f88f4664c2e0395122..49f056c95eacb2ac2313b1ca100668dcd3dbf051 100644 (file)
@@ -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 */
index c391242846910b4c5ba21bcc4d38282190fa9e0b..8d217f643dad74758c392fc6ce2c7ac9e272c4b5 100644 (file)
@@ -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;
 
index 6d256be74f28e49a069bc640c9c6c203a991ee91..9ba05d767da00536690fc5a949e2ff2d0a4c1e25 100644 (file)
@@ -42,7 +42,6 @@
 
 #include <cfg/compiler.h>
 
-#warning TODO:This is an example implentation, you must implement it!
 
 /*! \name Enum for ntc devices.
  * \{