summaryrefslogtreecommitdiff
path: root/src/GCCache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/GCCache.cc')
-rw-r--r--src/GCCache.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/GCCache.cc b/src/GCCache.cc
index 941d67ef..57310a44 100644
--- a/src/GCCache.cc
+++ b/src/GCCache.cc
@@ -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
}