X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8495ba53688a1d5de6cecffdd1a0e783f8b43a00..822e690b221486b63895b5f14a7fbee2bc966fe5:/contrib/src/fl/garbagec.cpp?ds=sidebyside diff --git a/contrib/src/fl/garbagec.cpp b/contrib/src/fl/garbagec.cpp index 79148099a1..e0f95d02f5 100644 --- a/contrib/src/fl/garbagec.cpp +++ b/contrib/src/fl/garbagec.cpp @@ -69,10 +69,7 @@ wxNode* GarbageCollector::FindItemNode( void* pForObj ) pNode = pNode->GetNext(); } - int avoidCompilerWarning = 0; - wxASSERT(avoidCompilerWarning); // DBG:: item should be present - - return 0; + return NULL; } wxNode* GarbageCollector::FindReferenceFreeItemNode() @@ -140,7 +137,7 @@ void GarbageCollector::ResolveReferences() } } -void GarbageCollector::AddObject( void* pObj, int refCnt ) +void GarbageCollector::AddObject( void* pObj, int WXUNUSED(refCnt) ) { // FOR NOW:: initial ref-count is not used