summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-06-07 15:30:37 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-06-07 15:30:37 +0000
commit0ded2b1c187a48021042c6df8ea7cf4dc4c686b3 (patch)
tree5964a6a0674750f61d12449154e6ce1a16882420 /firmware
parentd0ecc86032b118ecda5c7c056b54264bbaa667e7 (diff)
downloadrockbox-0ded2b1c187a48021042c6df8ea7cf4dc4c686b3.tar.gz
rockbox-0ded2b1c187a48021042c6df8ea7cf4dc4c686b3.zip
Removed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@924 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/settings.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/settings.c b/firmware/settings.c
index 5d0c95a865..db86ecb651 100644
--- a/firmware/settings.c
+++ b/firmware/settings.c
@@ -77,6 +77,7 @@ void reset_settings( user_settings_t *settings ) {
*/
void display_current_settings( user_settings_t *settings )
{
+#ifdef DEBUG
DEBUGF( "\ndisplay_current_settings()\n" );
DEBUGF( "\nvolume:\t\t%d\nbalance:\t%d\nbass:\t\t%d\ntreble:\t\t%d\nloudness:\t%d\nbass boost:\t%d\n",
@@ -91,6 +92,10 @@ void display_current_settings( user_settings_t *settings )
settings->contrast,
settings->poweroff,
settings->backlight );
+#else
+ /* Get rid of warning */
+ settings = settings;
+#endif
}