summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2006-04-15 18:32:53 -0500
committerSteve Peters <steve@fisharerojo.org>2006-04-16 05:12:56 +0000
commit23dd8dc923e09066c4de1446e10ac3fd09989d05 (patch)
treecbce7907435cafda3f061ec1df23558ac5af5c15 /thread.h
parentbee6d11532124d429869bc62306535b2a74bff79 (diff)
downloadperl-23dd8dc923e09066c4de1446e10ac3fd09989d05.tar.gz
Removed unused var in a macro
Message-ID: <20060416043253.GA3438@petdance.com> p4raw-id: //depot/perl@27834
Diffstat (limited to 'thread.h')
-rw-r--r--thread.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/thread.h b/thread.h
index aa3c86a2be..7ff71fad2a 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); \
} \