fix some harmless compilation in (release) MSVC build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -478,7 +478,10 @@ int wxConsoleStderr::GetCommandHistory(wxWxCharBuffer& buf) const
|
||||
{
|
||||
buf.extend(len);
|
||||
const int len2 = m_pfnGetConsoleCommandHistory(buf.data(), len, CMD_EXE);
|
||||
wxASSERT_MSG( len2 == len, _T("failed getting history?") );
|
||||
if ( len2 != len )
|
||||
{
|
||||
wxFAIL_MSG( _T("failed getting history?") );
|
||||
}
|
||||
}
|
||||
|
||||
return len;
|
||||
|
Reference in New Issue
Block a user