summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-12-04 21:56:16 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-12-04 21:56:16 +0000
commit2cf82055d32fc4e8c9208e6a5865d59cd71d137d (patch)
treeb82fde26c368c7167c2790e8b3b1add4d4f4c8dd
parente684dc7cca902e29fea03c850b121168b7691902 (diff)
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
-rw-r--r--src/util/Table.c3
1 files changed, 3 insertions, 0 deletions
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' */
}
}