summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5aaa5cf)
raw | patch | inline | side by side (parent: 5aaa5cf)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 23 Apr 2016 09:22:00 +0000 (11:22 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 23 Apr 2016 09:22:00 +0000 (11:22 +0200) |
[src/perl.c:2079] -> [src/perl.c:2082]: (performance) Variable 't' is reassigned a value before the old one has been used.
src/perl.c | patch | blob | history |
diff --git a/src/perl.c b/src/perl.c
index 920e7b3f015a60c3c3c3aa349c3a2d711a3d961b..ee0f54105969aea29eeaa2de384f0e39f0fdfcb1 100644 (file)
--- a/src/perl.c
+++ b/src/perl.c
static int perl_shutdown (void)
{
- c_ithread_t *t = NULL;
-
- int ret = 0;
+ c_ithread_t *t;
+ int ret;
dTHX;
return 0;
if (NULL == aTHX) {
- t = NULL;
-
pthread_mutex_lock (&perl_threads->mutex);
t = c_ithread_create (perl_threads->head->interp);
pthread_mutex_unlock (&perl_threads->mutex);