From 528715a672a53156d7cb1382c344954d4d59cfc6 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 16 Aug 2014 05:52:05 -0400 Subject: Fix warnings from 6ed0087 Forgot to (void) an unused parameter when priorityless. usb-drv-rl27xx.c was using a compound init to initialize a semaphore but the structure changed so that it is no longer correct. Use designated initializers to avoid having to complete all fields. Forgot to break compatibility on all plugins and codecs since the kernel objects are now different. Take care of that too and do the sort thing. Change-Id: Ie2ab8da152d40be0c69dc573ced8d697d94b0674 --- firmware/kernel/thread.c | 1 + 1 file changed, 1 insertion(+) (limited to 'firmware/kernel') diff --git a/firmware/kernel/thread.c b/firmware/kernel/thread.c index b916c3b521..bbd610122b 100644 --- a/firmware/kernel/thread.c +++ b/firmware/kernel/thread.c @@ -289,6 +289,7 @@ should_switch_tasks(struct thread_entry *thread) return THREAD_OK | THREAD_SWITCH; #else return THREAD_OK; + (void)thread; #endif /* HAVE_PRIORITY_SCHEDULING */ } -- cgit v1.2.3