diff --git a/apps/openmw/mwsound/openal_output.cpp b/apps/openmw/mwsound/openal_output.cpp index a8a541704..31d46ce31 100644 --- a/apps/openmw/mwsound/openal_output.cpp +++ b/apps/openmw/mwsound/openal_output.cpp @@ -952,7 +952,7 @@ std::pair OpenAL_Output::loadSound(const std::string &fname std::vector data; ALenum format = AL_NONE; - int srate; + int srate = 0; try {