]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/fl/garbagec.cpp
Warning fixes after recent library changes.
[wxWidgets.git] / contrib / src / fl / garbagec.cpp
index 79148099a10647ea0ac7b638b9ae1874a6a6a145..e0f95d02f51c37fcec21e4aa5512ab8f2114a870 100644 (file)
@@ -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