From c6710ee054bc7cddfa2f6094202d07d7b540fb88 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Wed, 2 Dec 2020 14:45:41 -0800 Subject: [PATCH] VIDEO: Silence minor compiler warning --- sim_video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sim_video.c b/sim_video.c index f4ed5803..d750048d 100644 --- a/sim_video.c +++ b/sim_video.c @@ -87,13 +87,13 @@ t_stat vid_show (FILE* st, DEVICE *dptr, UNIT* uptr, int32 val, CONST char* des return vid_show_video (st, uptr, val, desc); } +#if defined(USE_SIM_VIDEO) && defined(HAVE_LIBSDL) + static const char *vid_dname (DEVICE *dev) { return dev ? sim_dname(dev) : "Video Device"; } -#if defined(USE_SIM_VIDEO) && defined(HAVE_LIBSDL) - static int vid_gamepad_ok = 0; /* Or else just joysticks. */ char vid_release_key[64] = "Ctrl-Right-Shift";