diff --git a/src/pike_memory.c b/src/pike_memory.c index 4c7fe8bf8ff51c4e9de9a8d116d41d3f47d7d201..5ca4e492fca5aa679465070166064c7dde0bb432 100644 --- a/src/pike_memory.c +++ b/src/pike_memory.c @@ -10,7 +10,7 @@ #include "pike_macros.h" #include "gc.h" -RCSID("$Id: pike_memory.c,v 1.69 2000/06/17 00:24:26 hubbe Exp $"); +RCSID("$Id: pike_memory.c,v 1.70 2000/06/27 15:22:38 grubba Exp $"); /* strdup() is used by several modules, so let's provide it */ #ifndef HAVE_STRDUP @@ -548,6 +548,8 @@ void *generic_memory_search(struct generic_mem_searcher *s, default: fatal("Wacko method!\n"); } + /* NOT REACHED */ + return NULL; /* Keep the compiler happy. */ } @@ -664,6 +666,8 @@ char *debug_qalloc(long size) #endif fatal("Completely out of memory!\n"); + /* NOT_REACHED */ + return NULL; /* Keep the compiler happy. */ } #ifdef DEBUG_MALLOC