From 898927c44b75d44cd99cc0536b3cf744f888fb6b Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 1 Feb 2015 13:16:52 +0100 Subject: [PATCH] Cleanups --- settings_data.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/settings_data.c b/settings_data.c index 17fab1af80..bc1b8bdac0 100644 --- a/settings_data.c +++ b/settings_data.c @@ -2789,11 +2789,6 @@ static void get_string_representation_bind_device(void * data, char *type_str, static void get_string_representation_savestate(void * data, char *type_str, size_t type_str_size) { - rarch_setting_t *setting = (rarch_setting_t*)data; - - if (!setting || !type_str || !type_str_size) - return; - snprintf(type_str, type_str_size, "%d", g_settings.state_slot); if (g_settings.state_slot == -1) strlcat(type_str, " (Auto)", type_str_size);