From a68de933087ad513c4d043f96d02e5c8635fea49 Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Wed, 16 May 2018 16:34:58 +0400 Subject: [PATCH] Initialize srate variable in openal_output --- apps/openmw/mwsound/openal_output.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {