]> git.mxchange.org Git - simgear.git/commitdiff
Fix a compiler warning.
authorcurt <curt>
Wed, 16 May 2007 16:08:17 +0000 (16:08 +0000)
committercurt <curt>
Wed, 16 May 2007 16:08:17 +0000 (16:08 +0000)
simgear/sound/openal_test1.cxx

index 68b01a50609f15e9af602aaf2503604e29eaf5c2..687df455f528df086c204dedb8d3da77523e6e90 100644 (file)
@@ -101,7 +101,7 @@ int main( int argc, char *argv[] ) {
     ALsizei size;
     ALvoid* data;
     ALsizei freq;
-    ALboolean loop;
+    ALboolean loop = false;
 
     source_pos[0] = 0.0; source_pos[1] = 0.0; source_pos[2] = 0.0;
     source_vel[0] = 0.0; source_vel[1] = 0.0; source_vel[2] = 0.0;