glthread/thread: avoid compiler warning
authorEric Blake <ebb9@byu.net>
Wed, 22 Oct 2008 11:47:28 +0000 (05:47 -0600)
committerEric Blake <ebb9@byu.net>
Wed, 22 Oct 2008 11:47:28 +0000 (05:47 -0600)
* lib/glthread/thread.c (gl_thread_exit_func) [USE_WIN32_THREADS]:
Add unreachable abort to silence compiler.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/glthread/thread.c

index 46ecb98..0dca26b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2008-10-22  Eric Blake  <ebb9@byu.net>
 
+       glthread/thread: avoid compiler warning
+       * lib/glthread/thread.c (gl_thread_exit_func) [USE_WIN32_THREADS]:
+       Add unreachable abort to silence compiler.
+
+2008-10-22  Eric Blake  <ebb9@byu.net>
+
        netdb: also supply struct addrinfo for cygwin 1.5.x
        * m4/netdb_h.m4 (gl_HEADER_NETDB): Check for incomplete header on
        older cygwin.
index 4ebfc54..fa8aede 100644 (file)
@@ -210,6 +210,7 @@ gl_thread_exit_func (void *retval)
   gl_thread_t thread = gl_thread_self ();
   thread->result = retval;
   _endthreadex (0); /* calls ExitThread (0) */
+  abort ();
 }
 
 #endif