From: lottaviano Date: Fri, 25 Mar 2011 08:18:49 +0000 (+0000) Subject: Remove compile time warnings. X-Git-Tag: 2.7.0~158 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=eed68a9695d0eb07e4762375c5d13ba07e4733fb;p=bertos.git Remove compile time warnings. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4808 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/net/lwip/src/arch/sys_arch.c b/bertos/net/lwip/src/arch/sys_arch.c index e33f2364..61d91dc3 100644 --- a/bertos/net/lwip/src/arch/sys_arch.c +++ b/bertos/net/lwip/src/arch/sys_arch.c @@ -380,6 +380,9 @@ sys_thread_t sys_thread_new(char *name, void (* thread)(void *arg), #if CONFIG_KERN_PRI proc_setPri(thread_node->pid, prio); + #else + /* Avoid warnings when priorities are disabled */ + (void) prio; #endif return thread_node->pid;