From 2cf82055d32fc4e8c9208e6a5865d59cd71d137d Mon Sep 17 00:00:00 2001 From: tradke Date: Tue, 4 Dec 2001 21:56:16 +0000 Subject: Added return statement to prevent compiler warning 'function should return a value'. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2480 17b73243-c579-4c4c-a9d2-2d5706c11dac --- src/util/Table.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/util/Table.c b/src/util/Table.c index a11ae50d..0391457e 100644 --- a/src/util/Table.c +++ b/src/util/Table.c @@ -491,6 +491,8 @@ int handle; /* we should never get to here! */ assert(false); abort(); /* internal error (core dump) */ +/* prevent compiler warning 'function should return a value' */ +return(0); } } @@ -2019,6 +2021,7 @@ int ihandle; /* we should never get to here! */ assert(false); abort(); /* internal error (core dump) */ +/* prevent compiler warning 'function should return a value' */ } } -- cgit v1.2.3