aboutsummaryrefslogtreecommitdiffstats
path: root/utils/hashtest2.c
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-17 09:54:54 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-17 09:54:54 +0000
commit1fe4d3a41f45160bb6a8e1b7e8f5ccc0d5f19ed4 (patch)
treea25628063822c1068ee88985888d5a2c8ac0937e /utils/hashtest2.c
parent4dfe6b53273ee200c8df0e2d4a16c73576d4c05d (diff)
add a return NULL to a function that is expected to return a value
so compilers that don't understand that this code is NOTREACHED will not complain (the fault is not much on the compiler but on the declaration of pthread_exit on certain platforms) s/certain platform/cygwin/ if you are really curious git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89368 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils/hashtest2.c')
-rw-r--r--utils/hashtest2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/hashtest2.c b/utils/hashtest2.c
index 956453c07..a2a629a1d 100644
--- a/utils/hashtest2.c
+++ b/utils/hashtest2.c
@@ -259,6 +259,7 @@ static void *hashtest(void *data)
printf("\ntotals..................... lookups=%d/%d, added=%d, removed=%d; traversals=%d\n",
els_found, els_lookedup, els_added, els_removed, els_traversals);
pthread_exit(0);
+ return NULL;
}
static void run_hashtest(int numthr)