summaryrefslogtreecommitdiffstats
path: root/firmware/kernel
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2014-08-16 05:52:05 -0400
committerMichael Sevakis <jethead71@rockbox.org>2014-08-16 06:00:36 -0400
commit528715a672a53156d7cb1382c344954d4d59cfc6 (patch)
tree188251d2ff8ae495532d25c57adc9ba286f7e5e0 /firmware/kernel
parent6ed00870abd566d7267d2436c2693f5a281cda2f (diff)
downloadrockbox-528715a672a53156d7cb1382c344954d4d59cfc6.tar.gz
rockbox-528715a672a53156d7cb1382c344954d4d59cfc6.tar.bz2
rockbox-528715a672a53156d7cb1382c344954d4d59cfc6.zip
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
Diffstat (limited to 'firmware/kernel')
-rw-r--r--firmware/kernel/thread.c1
1 files changed, 1 insertions, 0 deletions
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 */
}