From b430977adfef73cd5d1aba710849d3881bbc6331 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Thu, 3 Apr 2008 02:36:01 +0000 Subject: [PATCH] - Rearranged MIDIStreamer constructors to remove GCC warnings. SVN r873 (trunk) --- src/sound/music_midistream.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/sound/music_midistream.cpp b/src/sound/music_midistream.cpp index 4378f4495..db78a7ad6 100644 --- a/src/sound/music_midistream.cpp +++ b/src/sound/music_midistream.cpp @@ -70,11 +70,11 @@ extern UINT mididevice; //========================================================================== MIDIStreamer::MIDIStreamer(bool opl) -: MIDI(0), +: #ifdef _WIN32 PlayerThread(0), ExitEvent(0), BufferDoneEvent(0), #endif - Division(0), InitialTempo(500000), UseOPLDevice(opl) + MIDI(0), Division(0), InitialTempo(500000), UseOPLDevice(opl) { #ifdef _WIN32 BufferDoneEvent = CreateEvent(NULL, FALSE, FALSE, NULL); @@ -98,11 +98,11 @@ MIDIStreamer::MIDIStreamer(bool opl) //========================================================================== MIDIStreamer::MIDIStreamer(const char *dumpname) -: MIDI(0), DumpFilename(dumpname), +: #ifdef _WIN32 PlayerThread(0), ExitEvent(0), BufferDoneEvent(0), #endif - Division(0), InitialTempo(500000), UseOPLDevice(true) + MIDI(0), Division(0), InitialTempo(500000), UseOPLDevice(true), DumpFilename(dumpname) { #ifdef _WIN32 BufferDoneEvent = NULL;