]> Dogcows Code - chaz/openbox/blobdiff - src/GCCache.cc
sync with bb-cvs
[chaz/openbox] / src / GCCache.cc
index 941d67ef0d0c80bd07005206b59000b904649d5c..57310a44168b46d9e570de7c7b573baede81b521 100644 (file)
@@ -90,8 +90,6 @@ BGCCache::~BGCCache(void) {
   std::for_each(cache, cache + cache_total_size, PointerAssassin());
   delete [] cache;
   delete [] contexts;
-  cache = 0;
-  contexts = 0;
 }
 
 
@@ -116,6 +114,7 @@ BGCCacheContext *BGCCache::nextContext(unsigned int scr) {
 
   fprintf(stderr, "BGCCache: context fault!\n");
   abort();
+  return (BGCCacheContext*) 0; // not reached
 }
 
 
This page took 0.022024 seconds and 4 git commands to generate.