File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 247247 <define name="DECLARE_EXPORTED_EVENT_TYPE(expdecl, name, value)" value=""/>
248248 <define name="DECLARE_EVENT_TYPE(name, value)" value=""/>
249249 <define name="DECLARE_LOCAL_EVENT_TYPE(name, value)" value=""/>
250- <define name="DEFINE_EVENT_TYPE(name)" value="const wxEventType name = wxNewEventType()"/>
250+ <define name="DEFINE_EVENT_TYPE(name)" value="const wxEventType name = wxNewEventType(); "/>
251251 <define name="DEFINE_LOCAL_EVENT_TYPE(name)" value=""/>
252252 <define name="WX_DECLARE_STRING_HASH_MAP(name, value)" value=""/>
253253 <define name="DECLARE_LOCAL_EVENT_TYPE(name, value)" value=""/>
Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ void CheckMemoryLeak::mismatchAllocDealloc(const std::list<const Token *> &calls
355355
356356CheckMemoryLeak::AllocType CheckMemoryLeak::functionReturnType (const Function* func, std::list<const Function*> *callstack) const
357357{
358- if (!func || !func->hasBody ())
358+ if (!func || !func->hasBody () || !func-> functionScope )
359359 return No;
360360
361361 // Get return pointer..
You can’t perform that action at this time.
0 commit comments