summaryrefslogtreecommitdiff
path: root/apps/gui/option_select.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2011-06-12 22:17:45 +0000
committerNils Wallménius <nils@rockbox.org>2011-06-12 22:17:45 +0000
commit3b04a85245473a6e0f82ee479ef399bc8163a473 (patch)
treeeca1577767f683ed7451696043182d47ed973675 /apps/gui/option_select.c
parent4e8bed2933dea6b6482d2b4b4d23bde4947055f9 (diff)
downloadrockbox-3b04a85245473a6e0f82ee479ef399bc8163a473.tar.gz
rockbox-3b04a85245473a6e0f82ee479ef399bc8163a473.zip
Remove a couple of dead inits and assignments found by the clang-static-analyzer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29996 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/option_select.c')
-rw-r--r--apps/gui/option_select.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/gui/option_select.c b/apps/gui/option_select.c
index 7f829d26c3..c3246638ab 100644
--- a/apps/gui/option_select.c
+++ b/apps/gui/option_select.c
@@ -276,7 +276,6 @@ void option_select_next_val(const struct settings_list *setting,
276 else if ((setting->flags & F_CHOICE_SETTING) == F_CHOICE_SETTING) 276 else if ((setting->flags & F_CHOICE_SETTING) == F_CHOICE_SETTING)
277 { 277 {
278 struct choice_setting *info = (struct choice_setting *)setting->choice_setting; 278 struct choice_setting *info = (struct choice_setting *)setting->choice_setting;
279 val = *value + 1;
280 if (!previous) 279 if (!previous)
281 { 280 {
282 val = *value + 1; 281 val = *value + 1;