From 60cb2de6a07944430cedf1f4173f4d6b0a16b4c3 Mon Sep 17 00:00:00 2001
From: Steel Titanium <steeltitanium1@gmail.com>
Date: Tue, 9 Jul 2019 15:51:11 -0400
Subject: [PATCH] Seperate declarations from code

---
 src/sdl/mixer_sound.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/sdl/mixer_sound.c b/src/sdl/mixer_sound.c
index 28cedcf279..883ba992a3 100644
--- a/src/sdl/mixer_sound.c
+++ b/src/sdl/mixer_sound.c
@@ -111,6 +111,8 @@ static UINT16 current_track;
 int mod_err = OPENMPT_ERROR_OK;
 static const char *mod_err_str;
 static UINT16 current_subsong;
+size_t probesize;
+int result;
 #endif
 
 static void var_cleanup(void)
@@ -1113,9 +1115,6 @@ boolean I_LoadSong(char *data, size_t len)
 #endif
 
 #ifdef HAVE_OPENMPT
-	size_t probesize;
-	int result;
-
 	/*
 		If the size of the data to be checked is bigger than the recommended size (> 2048)
 		Let's just set the probe size to the recommended size
-- 
GitLab