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:
parent
3958347bef
commit
76bad19117
@ -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
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user