From 3b04a85245473a6e0f82ee479ef399bc8163a473 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sun, 12 Jun 2011 22:17:45 +0000 Subject: 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 --- apps/gui/option_select.c | 1 - 1 file changed, 1 deletion(-) (limited to 'apps/gui/option_select.c') 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, else if ((setting->flags & F_CHOICE_SETTING) == F_CHOICE_SETTING) { struct choice_setting *info = (struct choice_setting *)setting->choice_setting; - val = *value + 1; if (!previous) { val = *value + 1; -- cgit v1.2.3