From: Vadim Zeitlin Date: Fri, 11 Jul 2003 22:28:39 +0000 (+0000) Subject: fix for a warning X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1ab378c03f2c6ee93c3a84f0ed12e0cf0f2f16cc fix for a warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/menucmn.cpp b/src/common/menucmn.cpp index 0a00187d3b..7208dbbd49 100644 --- a/src/common/menucmn.cpp +++ b/src/common/menucmn.cpp @@ -787,7 +787,6 @@ wxMenu *wxMenuBarBase::Remove(size_t pos) wxCHECK_MSG( node, NULL, wxT("bad index in wxMenuBar::Remove()") ); wxMenu *menu = node->GetData(); - wxCHECK( node, NULL ); // unexpected m_menus.Erase(node); menu->Detach();