From 1c302f26b38f2da5b80dd8a5ffd7f0a9474ed1a6 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Thu, 5 Mar 2020 15:20:16 +0100 Subject: [PATCH] Prevent warning --- retroarch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/retroarch.c b/retroarch.c index c0853cfb56..583e928de2 100644 --- a/retroarch.c +++ b/retroarch.c @@ -8630,7 +8630,9 @@ bool command_event(enum event_command cmd, void *data) bool history_list_enable = settings->bools.history_list_enable; const char *path_content_history = settings->paths.path_content_history; const char *path_content_music_history = settings->paths.path_content_music_history; +#if defined(HAVE_FFMPEG) || defined(HAVE_MPV) const char *path_content_video_history = settings->paths.path_content_video_history; +#endif const char *path_content_image_history = settings->paths.path_content_image_history; command_event(CMD_EVENT_HISTORY_DEINIT, NULL);