mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	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: https://origsvn.digium.com/svn/asterisk/trunk@89368 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user