fix GCC warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -118,8 +118,9 @@ void wxMemStruct::ErrorMsg ()
|
|||||||
*/
|
*/
|
||||||
int wxMemStruct::AssertList ()
|
int wxMemStruct::AssertList ()
|
||||||
{
|
{
|
||||||
if (wxDebugContext::GetHead () != 0 && ! (wxDebugContext::GetHead ())->AssertIt () ||
|
if ((wxDebugContext::GetHead() && !wxDebugContext::GetHead()->AssertIt()) ||
|
||||||
wxDebugContext::GetTail () != 0 && ! wxDebugContext::GetTail ()->AssertIt ()) {
|
(wxDebugContext::GetTail() && !wxDebugContext::GetTail()->AssertIt()))
|
||||||
|
{
|
||||||
ErrorMsg ("Head or tail pointers trashed");
|
ErrorMsg ("Head or tail pointers trashed");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user