Fixed possible usage of uninitialized variable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
242b7b46ad
commit
56fc3fa5b3
@ -913,7 +913,7 @@ wxString wxMacFSSpec2MacFilename( const FSSpec *spec )
|
||||
int i;
|
||||
int j;
|
||||
OSErr theErr;
|
||||
OSStatus theStatus;
|
||||
OSStatus theStatus = noErr;
|
||||
Boolean isDirectory = FALSE;
|
||||
Str255 theParentPath = "\p";
|
||||
FSSpec theParentSpec;
|
||||
|
@ -116,7 +116,7 @@ void wxScrollBar::MacHandleControlClick( WXWidget control , wxInt16 controlpart
|
||||
int maxPos = GetControl32BitMaximum( (ControlHandle) m_macControl) ;
|
||||
|
||||
wxEventType scrollEvent = wxEVT_NULL;
|
||||
int nScrollInc;
|
||||
int nScrollInc = 0;
|
||||
|
||||
// all events have already been reported during mouse down, except for THUMBRELEASE
|
||||
if ( !mouseStillDown && controlpart !=kControlIndicatorPart )
|
||||
|
@ -116,7 +116,7 @@ void wxScrollBar::MacHandleControlClick( WXWidget control , wxInt16 controlpart
|
||||
int maxPos = GetControl32BitMaximum( (ControlHandle) m_macControl) ;
|
||||
|
||||
wxEventType scrollEvent = wxEVT_NULL;
|
||||
int nScrollInc;
|
||||
int nScrollInc = 0;
|
||||
|
||||
// all events have already been reported during mouse down, except for THUMBRELEASE
|
||||
if ( !mouseStillDown && controlpart !=kControlIndicatorPart )
|
||||
|
Loading…
Reference in New Issue
Block a user