in case of an faulty event this might not get initialized

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2006-04-09 08:53:39 +00:00
parent d995756723
commit 75b324211c

View File

@@ -498,7 +498,7 @@ pascal OSStatus wxMacUnicodeTextEventHandler( EventHandlerCallRef handler , Even
wchar_t* uniChars = NULL ;
UInt32 when = EventTimeToTicks( GetEventTime( event ) ) ;
UniChar* charBuf;
UniChar* charBuf = NULL;
UInt32 dataSize = 0 ;
int numChars = 0 ;
UniChar buf[2] ;