summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2017-01-21 14:55:13 -0500
committerMichael Sevakis <jethead71@rockbox.org>2017-01-21 14:55:13 -0500
commit28bf763373ef35ac27a70d5af4afee22bf25e15b (patch)
tree9a8f704588cdbb30ac840a6c726ce4f64e1989d4
parent3e738661108fb2a8e3474c6336c2a5c2668f82b6 (diff)
downloadrockbox-28bf763.tar.gz
rockbox-28bf763.tar.bz2
rockbox-28bf763.zip
Fix warnings - got to (void) the statement
Change-Id: I85ed5071cbf8e309d06ec14159d6581cf876eb35
-rw-r--r--firmware/export/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h
index d33a35f6fa..49249f6bb5 100644
--- a/firmware/export/system.h
+++ b/firmware/export/system.h
@@ -207,7 +207,7 @@ enum {
#ifndef ASSERT_CPU_MODE
/* Very useful to have defined properly for your architecture */
#define ASSERT_CPU_MODE(mode, rstatus...) \
- ({ (mode); rstatus; })
+ ({ (void)(mode); rstatus; })
#endif
#ifndef CPU_MODE_THREAD_CONTEXT