From 7f58f02277ac735e75c6e552d0b2e6275c8716d3 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 11 Mar 2012 15:11:15 +0100 Subject: [PATCH] Fix compiler warning. --- code/audio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/audio.cpp b/code/audio.cpp index 669b1d4..821f464 100644 --- a/code/audio.cpp +++ b/code/audio.cpp @@ -27,7 +27,7 @@ void playSound(int sid, float x) if ((!engine.useSound) || (!engine.useAudio)) return; - int channel; + int channel = -1; static int freechannel = 4; switch(sid)