fix unused parameter warning in wxSetEnv() in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -485,6 +485,9 @@ wxDEPRECATED( inline bool wxSetEnv(const wxString& var, int value) );
|
|||||||
inline bool wxSetEnv(const wxString& var, int value)
|
inline bool wxSetEnv(const wxString& var, int value)
|
||||||
{
|
{
|
||||||
wxASSERT_MSG( value == 0, "using non-NULL integer as string?" );
|
wxASSERT_MSG( value == 0, "using non-NULL integer as string?" );
|
||||||
|
|
||||||
|
wxUnusedVar(value); // fix unused parameter warning in release build
|
||||||
|
|
||||||
return wxUnsetEnv(var);
|
return wxUnsetEnv(var);
|
||||||
}
|
}
|
||||||
#endif // WXWIN_COMPATIBILITY_2_8
|
#endif // WXWIN_COMPATIBILITY_2_8
|
||||||
|
Reference in New Issue
Block a user