[asterisk-commits] rizzo: branch rizzo/cygwin_build r87939 - /team/rizzo/cygwin_build/utils/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Oct 31 16:44:21 CDT 2007


Author: rizzo
Date: Wed Oct 31 16:44:21 2007
New Revision: 87939

URL: http://svn.digium.com/view/asterisk?view=rev&rev=87939
Log:
under cygwin pthread_exit does not tell the compiler that it
terminates the thread, so we need to explicitly add a return here
to silence a warning.


Modified:
    team/rizzo/cygwin_build/utils/hashtest2.c

Modified: team/rizzo/cygwin_build/utils/hashtest2.c
URL: http://svn.digium.com/view/asterisk/team/rizzo/cygwin_build/utils/hashtest2.c?view=diff&rev=87939&r1=87938&r2=87939
==============================================================================
--- team/rizzo/cygwin_build/utils/hashtest2.c (original)
+++ team/rizzo/cygwin_build/utils/hashtest2.c Wed Oct 31 16:44:21 2007
@@ -268,6 +268,7 @@
 	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;	/* NOTREACHED */
 }
 
 static void run_hashtest(int numthr)




More information about the asterisk-commits mailing list