summaryrefslogtreecommitdiff
path: root/lib/glthread/thread.c
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2008-10-22 05:47:28 -0600
committerEric Blake <ebb9@byu.net>2008-10-22 05:47:28 -0600
commit82815032e8d476c22edde5e36f70c25038638aab (patch)
treeb395c7902a7e9482a949073922d03da5f8d451b8 /lib/glthread/thread.c
parent9a53061cb862d6ac80fd752f9032b02d4e759e55 (diff)
downloadgnulib-82815032e8d476c22edde5e36f70c25038638aab.tar.gz
glthread/thread: avoid compiler warning
* 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>
Diffstat (limited to 'lib/glthread/thread.c')
-rw-r--r--lib/glthread/thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/glthread/thread.c b/lib/glthread/thread.c
index 4ebfc5446f..fa8aede797 100644
--- a/lib/glthread/thread.c
+++ b/lib/glthread/thread.c
@@ -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