From 805c4c2d12f1ebb55897d855489be17407456f0b Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 17 Jan 2017 17:28:19 +0100 Subject: [PATCH] (android_ctx.c) Initialize these variables --- gfx/drivers_context/android_ctx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gfx/drivers_context/android_ctx.c b/gfx/drivers_context/android_ctx.c index 43afdc2d59..ee672c8b95 100644 --- a/gfx/drivers_context/android_ctx.c +++ b/gfx/drivers_context/android_ctx.c @@ -232,7 +232,8 @@ static void android_gfx_ctx_get_video_size(void *data, static void android_gfx_ctx_check_window(void *data, bool *quit, bool *resize, unsigned *width, unsigned *height, unsigned frame_count) { - unsigned new_width, new_height; + unsigned new_width = 0; + unsigned new_height = 0; android_ctx_data_t *and = (android_ctx_data_t*)data; (void)frame_count;