No changes, just remove unneeded variable initialization.
Closes #14712, #14713. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -147,9 +147,7 @@ OSStatus wxMacDrawCGImage(
|
||||
|
||||
CGColorRef wxMacCreateCGColor( const wxColour& col )
|
||||
{
|
||||
CGColorRef retval = 0;
|
||||
|
||||
retval = col.CreateCGColor();
|
||||
CGColorRef retval = col.CreateCGColor();
|
||||
|
||||
wxASSERT(retval != NULL);
|
||||
return retval;
|
||||
|
@@ -616,11 +616,10 @@ void wxMenuBar::MacInstallMenuBar()
|
||||
|
||||
// hide items in the apple menu that don't exist in the wx menubar
|
||||
|
||||
int menuid = 0;
|
||||
wxMenuItem* appleItem = NULL;
|
||||
wxMenuItem* wxItem = NULL;
|
||||
|
||||
menuid = wxApp::s_macAboutMenuItemId;
|
||||
int menuid = wxApp::s_macAboutMenuItemId;
|
||||
appleItem = m_appleMenu->FindItem(menuid);
|
||||
wxItem = FindItem(menuid);
|
||||
if ( appleItem != NULL )
|
||||
|
Reference in New Issue
Block a user