From e86e5a07485bc0f33103004594a28882c028e7af Mon Sep 17 00:00:00 2001 From: wdenk Date: Sun, 17 Oct 2004 21:12:06 +0000 Subject: Code cleanup for GCC-3.3.x compilers --- board/trab/cmd_trab.c | 1 + board/trab/flash.c | 2 +- board/trab/memory.c | 2 +- board/trab/trab_fkt.c | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) (limited to 'board/trab') diff --git a/board/trab/cmd_trab.c b/board/trab/cmd_trab.c index 509e071f4..794c52718 100644 --- a/board/trab/cmd_trab.c +++ b/board/trab/cmd_trab.c @@ -718,6 +718,7 @@ static void led_set (unsigned int state) gpio->PADAT &= ~(1 << 12); break; default: + break; } } diff --git a/board/trab/flash.c b/board/trab/flash.c index 2cccee647..b4435e390 100644 --- a/board/trab/flash.c +++ b/board/trab/flash.c @@ -166,7 +166,7 @@ void flash_print_info (flash_info_t * info) } printf ("\n"); - Done: +Done: ; } /*----------------------------------------------------------------------- diff --git a/board/trab/memory.c b/board/trab/memory.c index 97cb0f89a..910441309 100644 --- a/board/trab/memory.c +++ b/board/trab/memory.c @@ -479,7 +479,7 @@ int memory_post_test (int flags) return ret; } -#endif 0 +#endif /* 0 */ /* #endif */ /* CONFIG_POST & CFG_POST_MEMORY */ /* #endif */ /* CONFIG_POST */ diff --git a/board/trab/trab_fkt.c b/board/trab/trab_fkt.c index f51a356da..abb3b29c8 100644 --- a/board/trab/trab_fkt.c +++ b/board/trab/trab_fkt.c @@ -35,7 +35,7 @@ * command do_touch is invoked and the touch is not pressed within an specific * interval. */ -#undef CONFIG_TOUCH_WAIT_PRESSED 1 +#undef CONFIG_TOUCH_WAIT_PRESSED /* max time to wait for touch is pressed */ #ifndef CONFIG_TOUCH_WAIT_PRESSED -- cgit v1.2.3