]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/fl/garbagec.cpp
cleanup - reformatting
[wxWidgets.git] / contrib / src / fl / garbagec.cpp
index 79148099a10647ea0ac7b638b9ae1874a6a6a145..e103208ccb0c1a88901192980961c472b1aff7dd 100644 (file)
@@ -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