Move unused variable inside HAVE_SHADER_MANAGER ifdef

This commit is contained in:
twinaphex 2014-05-30 22:31:49 +02:00
parent 65f5e1c74f
commit cb4f3fb8e0

View File

@ -1896,8 +1896,8 @@ static void menu_common_shader_manager_get_str(void *data, char *type_str, size_
static void menu_common_shader_manager_save_preset(const char *basename, bool apply)
{
rgui_handle_t *rgui = (rgui_handle_t*)driver.menu;
#ifdef HAVE_SHADER_MANAGER
rgui_handle_t *rgui = (rgui_handle_t*)driver.menu;
char buffer[PATH_MAX];
unsigned d, type;