X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=thread.h;h=7ff71fad2ab3677926464f7f0083f5f8b6fdcddc;hb=73031816b5ef6a74869c06e84bb621841a623d0a;hp=aa3c86a2bea49761fe7f35b6bf20156c04191f11;hpb=93a096870a2b1bc978c5a5479df6131dc5b46062;p=p5sagit%2Fp5-mst-13.2.git diff --git a/thread.h b/thread.h index aa3c86a..7ff71fa 100644 --- a/thread.h +++ b/thread.h @@ -338,8 +338,7 @@ #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); \ } \