Bunch of gcc 4.0 warning fixes.
[blender.git] / intern / SoundSystem / openal / SND_OpenALDevice.cpp
index 66950e6ef928e8febd685a796e38a52322a3bca0..fdad75db767b2bf9544d8dfbba27323c7588d595 100644 (file)
  * SND_OpenALDevice derived from SND_IAudioDevice
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #ifdef WIN32
 #pragma warning (disable:4786) // get rid of stupid stl-visual compiler debug warning
 #endif //WIN32
@@ -402,7 +398,7 @@ SND_WaveSlot* SND_OpenALDevice::LoadSample(const STR_String& name,
 #ifdef OUDE_OPENAL
                                unsigned int samplerate, numberofsamples;               // openal_2.12
 #else
-                               int samplerate, numberofsamples, frequency;  // openal_2.14+
+                               int samplerate, numberofsamples;  // openal_2.14+
 #endif
                                
                                /* Give them some safe defaults just incase */