X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8495ba53688a1d5de6cecffdd1a0e783f8b43a00..5cf1cb1006d6b5762d96c07ee3892883607460c7:/contrib/src/fl/garbagec.cpp diff --git a/contrib/src/fl/garbagec.cpp b/contrib/src/fl/garbagec.cpp index 79148099a1..e103208ccb 100644 --- a/contrib/src/fl/garbagec.cpp +++ b/contrib/src/fl/garbagec.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ - #pragma implementation "garbagec.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" @@ -69,10 +64,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 +132,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