Do the same thing as change #31082, but for warnings.pm.
[p5sagit/p5-mst-13.2.git] / thread.h
index aa3c86a..7ff71fa 100644 (file)
--- a/thread.h
+++ b/thread.h
 #ifndef ALLOC_THREAD_KEY
 #  define ALLOC_THREAD_KEY \
     STMT_START {                                               \
-       int _eC_;                                               \
-       if ((_eC_ = pthread_key_create(&PL_thr_key, 0))) {      \
+       if (pthread_key_create(&PL_thr_key, 0)) {               \
             write(2, STR_WITH_LEN("panic: pthread_key_create failed\n")); \
            exit(1);                                            \
        }                                                       \