From d38e32751499e480515063e1b5e6fc403df68557 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 28 Sep 2015 15:55:57 +0200 Subject: [PATCH] (menu_input.c) Get rid of some pointer grabbing --- menu/menu_input.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/menu/menu_input.c b/menu/menu_input.c index d354d9ab97..86fe20fb88 100644 --- a/menu/menu_input.c +++ b/menu/menu_input.c @@ -322,11 +322,6 @@ void menu_input_key_start_line(const char *label, void menu_input_st_uint_callback(void *userdata, const char *str) { - menu_input_t *menu_input = menu_input_get_ptr(); - - if (!menu_input) - return; - if (str && *str) { rarch_setting_t *current_setting = NULL; @@ -345,11 +340,6 @@ void menu_input_st_uint_callback(void *userdata, const char *str) void menu_input_st_hex_callback(void *userdata, const char *str) { - menu_input_t *menu_input = menu_input_get_ptr(); - - if (!menu_input) - return; - if (str && *str) { rarch_setting_t *current_setting = NULL; @@ -371,11 +361,6 @@ void menu_input_st_hex_callback(void *userdata, const char *str) void menu_input_st_string_callback(void *userdata, const char *str) { - menu_input_t *menu_input = menu_input_get_ptr(); - - if (!menu_input) - return; - if (str && *str) { rarch_setting_t *current_setting = NULL;