From ff4168b8f6af714a98fab3b1f52c73e8b032cb54 Mon Sep 17 00:00:00 2001 From: radius Date: Fri, 26 Jan 2018 22:27:58 -0500 Subject: [PATCH] fix warning --- libretro/libretro.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libretro/libretro.c b/libretro/libretro.c index 3ab408c..ac01434 100644 --- a/libretro/libretro.c +++ b/libretro/libretro.c @@ -486,7 +486,9 @@ void *retro_get_memory_data(unsigned type) break; default: data = NULL; - break; + break; + default: + data = NULL; } return data; }