1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-30 15:39:27 +02:00

fixed "unknown pragma" warning in src/Shuttle.cpp

This commit is contained in:
andheh 2018-02-26 11:40:47 +01:00 committed by James Crook
parent 3958347bef
commit 76bad19117

View File

@ -332,9 +332,11 @@ bool ShuttleParams::ExchangeWithMaster(const wxString & WXUNUSED(Name))
return true;
}
#ifdef _MSC_VER
// If this is compiled with MSVC (Visual Studio)
#pragma warning( push )
#pragma warning( disable: 4100 ) // unused parameters.
#endif //_MSC_VER
// The ShouldSet and CouldGet functions have an important side effect
@ -698,7 +700,10 @@ void ShuttleGetDefinition::DefineEnum( int&var, const wxChar * key, const int vd
EndStruct();
}
#ifdef _MSC_VER
// If this is compiled with MSVC (Visual Studio)
#pragma warning( pop )
#endif //_MSC_VER