diff options
author | Nils Wallménius <nils@rockbox.org> | 2011-05-24 10:56:01 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2011-05-24 10:56:01 +0000 |
commit | 2e3162f039fdb4d48aa5c9a1bf6c11ac9439a514 (patch) | |
tree | 07f365817f9c0fa220b84d0802bb971f40700831 /apps/radio | |
parent | 5fd9471c156ca054fbe5fc5d2b002f94645f473c (diff) | |
download | rockbox-2e3162f039fdb4d48aa5c9a1bf6c11ac9439a514.tar.gz rockbox-2e3162f039fdb4d48aa5c9a1bf6c11ac9439a514.zip |
Fix 2 'set but not used' warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29922 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/radio')
-rw-r--r-- | apps/radio/radio.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/radio/radio.c b/apps/radio/radio.c index d1a94ac295..5c0b884cd1 100644 --- a/apps/radio/radio.c +++ b/apps/radio/radio.c | |||
@@ -392,8 +392,8 @@ void radio_screen(void) | |||
392 | #endif | 392 | #endif |
393 | #if CONFIG_CODEC != SWCODEC | 393 | #if CONFIG_CODEC != SWCODEC |
394 | int timeout = current_tick + HZ/10; | 394 | int timeout = current_tick + HZ/10; |
395 | unsigned int last_seconds = 0; | ||
396 | #if !defined(SIMULATOR) | 395 | #if !defined(SIMULATOR) |
396 | unsigned int last_seconds = 0; | ||
397 | unsigned int seconds = 0; | 397 | unsigned int seconds = 0; |
398 | struct audio_recording_options rec_options; | 398 | struct audio_recording_options rec_options; |
399 | #endif /* SIMULATOR */ | 399 | #endif /* SIMULATOR */ |
@@ -547,8 +547,10 @@ void radio_screen(void) | |||
547 | rec_command(RECORDING_CMD_START); | 547 | rec_command(RECORDING_CMD_START); |
548 | update_type = SKIN_REFRESH_ALL; | 548 | update_type = SKIN_REFRESH_ALL; |
549 | } | 549 | } |
550 | #endif /* SIMULATOR */ | 550 | #if CONFIG_CODEC != SWCODEC |
551 | last_seconds = 0; | 551 | last_seconds = 0; |
552 | #endif | ||
553 | #endif /* SIMULATOR */ | ||
552 | break; | 554 | break; |
553 | #endif /* #ifdef FM_RECORD */ | 555 | #endif /* #ifdef FM_RECORD */ |
554 | 556 | ||