From 455982da91e904b18cf15fa94f5bd43ba1ef02c2 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 9 Nov 2019 18:01:13 +0100 Subject: [PATCH] Silence warning --- retroarch.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/retroarch.c b/retroarch.c index 6189913608..bc60b25215 100644 --- a/retroarch.c +++ b/retroarch.c @@ -3524,10 +3524,12 @@ static bool run_translation_service(void) /* mode */ { char temp_string[PATH_MAX_LENGTH]; - + char *mode_chr = NULL; /*"image" is included for backwards compatability with * vgtranslate < 1.04 */ - char* mode_chr; + + temp_string[0] = '\0'; + if (settings->uints.ai_service_mode == 0) { if (use_overlay)