Fix C90 compliance warning in sdlmusic

git-svn-id: https://svn.eduke32.com/eduke32@3134 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2012-11-08 22:09:30 +00:00
parent a4311f5cb1
commit e0f519ddb0

View file

@ -145,6 +145,10 @@ int32_t MUSIC_Init(int32_t SoundCard, int32_t Address)
if (external_midi)
{
int32_t ws=1, numargs=0, pagesize=sysconf(_SC_PAGE_SIZE);
char *c, *cmd;
size_t sz;
initprintf("Setting music command to \"%s\".\n", command);
#if !defined FORK_EXEC_MIDI
@ -154,9 +158,6 @@ int32_t MUSIC_Init(int32_t SoundCard, int32_t Address)
goto fallback;
}
#else
int32_t ws=1, numargs=0, pagesize=sysconf(_SC_PAGE_SIZE);
char *c, *cmd;
size_t sz;
if (pagesize==-1)
goto fallback;