Silence some unused variable warnings on some targets

This commit is contained in:
twinaphex 2020-01-19 06:04:37 +01:00
parent 32c62a7fe1
commit f852209040
3 changed files with 6 additions and 1 deletions

View File

@ -564,7 +564,6 @@ bool egl_init_context(egl_ctx_data_t *egl,
EGLint *count, const EGLint *attrib_ptr,
egl_accept_config_cb_t cb)
{
int config_index = -1;
EGLDisplay dpy = get_egl_display(platform, display_data);
if (dpy == EGL_NO_DISPLAY)

View File

@ -56,11 +56,15 @@ static float msg_queue_info[16] = COLOR_HEX_TO_FLOAT(0x12ACF8, 1.0f);
static float msg_queue_task_progress_1[16] = COLOR_HEX_TO_FLOAT(0x397869, 1.0f); /* Color of first progress bar in a task message */
static float msg_queue_task_progress_2[16] = COLOR_HEX_TO_FLOAT(0x317198, 1.0f); /* Color of second progress bar in a task message (for multiple tasks with same message) */
#if 0
static float color_task_progress_bar[16] = COLOR_HEX_TO_FLOAT(0x22B14C, 1.0f);
#endif
static unsigned text_color_info = 0xD8EEFFFF;
#if 0
static unsigned text_color_success = 0x22B14CFF;
static unsigned text_color_error = 0xC23B22FF;
#endif
static unsigned text_color_faint = 0x878787FF;
static float volume_bar_background[16] = COLOR_HEX_TO_FLOAT(0x1A1A1A, 1.0f);

View File

@ -1120,7 +1120,9 @@ static bool runloop_autosave = false;
static bool runloop_max_frames_screenshot = false;
static bool log_file_created = false;
static bool log_file_override_active = false;
#ifdef HAVE_RUNAHEAD
static bool has_variable_update = false;
#endif
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_SLANG) || defined(HAVE_HLSL)
static bool shader_presets_need_reload = true;
#endif