From 98c053792e1fd13d420a510ebd2b033ca345c9dc Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Sat, 10 May 2014 15:49:50 +0200 Subject: [PATCH] Try to fix build error for msvc --- src/Sound/flitevoice.hxx | 1 + src/Sound/voice.cxx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Sound/flitevoice.hxx b/src/Sound/flitevoice.hxx index f1315276b..ee616e8ed 100644 --- a/src/Sound/flitevoice.hxx +++ b/src/Sound/flitevoice.hxx @@ -25,6 +25,7 @@ #include "voice.hxx" #include +#include #include class VoiceSynthesizer; diff --git a/src/Sound/voice.cxx b/src/Sound/voice.cxx index 25355a949..e276873e2 100644 --- a/src/Sound/voice.cxx +++ b/src/Sound/voice.cxx @@ -95,7 +95,7 @@ void FGVoiceMgr::init() try { _voices.push_back(new FGFestivalVoice(this, voice)); continue; - } catch (const std::string& s) { + } catch (const std::string& ) { SG_LOG(SG_SOUND, SG_WARN, "failed to create festival voice, falling back to flite voice" ); } } -- 2.39.5