diff options
Diffstat (limited to 'apps/gui/quickscreen.c')
-rw-r--r-- | apps/gui/quickscreen.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/gui/quickscreen.c b/apps/gui/quickscreen.c index 1482310385..f03043d611 100644 --- a/apps/gui/quickscreen.c +++ b/apps/gui/quickscreen.c | |||
@@ -171,7 +171,6 @@ static void gui_quickscreen_draw(const struct gui_quickscreen *qs, | |||
171 | int i; | 171 | int i; |
172 | char buf[MAX_PATH]; | 172 | char buf[MAX_PATH]; |
173 | unsigned const char *title, *value; | 173 | unsigned const char *title, *value; |
174 | void *setting; | ||
175 | int temp; | 174 | int temp; |
176 | display->set_viewport(parent); | 175 | display->set_viewport(parent); |
177 | display->clear_viewport(); | 176 | display->clear_viewport(); |
@@ -184,7 +183,6 @@ static void gui_quickscreen_draw(const struct gui_quickscreen *qs, | |||
184 | display->set_viewport(vp); | 183 | display->set_viewport(vp); |
185 | 184 | ||
186 | title = P2STR(ID2P(qs->items[i]->lang_id)); | 185 | title = P2STR(ID2P(qs->items[i]->lang_id)); |
187 | setting = qs->items[i]->setting; | ||
188 | temp = option_value_as_int(qs->items[i]); | 186 | temp = option_value_as_int(qs->items[i]); |
189 | value = option_get_valuestring(qs->items[i], | 187 | value = option_get_valuestring(qs->items[i], |
190 | buf, MAX_PATH, temp); | 188 | buf, MAX_PATH, temp); |