summaryrefslogtreecommitdiff
path: root/sysdeps/generic/pt-destroy-specific.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-28 02:03:11 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-28 02:03:11 +0200
commit8657c93f0adeefd1b50d54ae30aa0a4ba2d89827 (patch)
tree4fde4d311d435ab0f5413e168f4c99767f7032ef /sysdeps/generic/pt-destroy-specific.c
parented3150fb7413fce0321ad88a22de7871a301f7c3 (diff)
Fix coding style
Diffstat (limited to 'sysdeps/generic/pt-destroy-specific.c')
-rw-r--r--sysdeps/generic/pt-destroy-specific.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/pt-destroy-specific.c b/sysdeps/generic/pt-destroy-specific.c
index cb6affe..523a620 100644
--- a/sysdeps/generic/pt-destroy-specific.c
+++ b/sysdeps/generic/pt-destroy-specific.c
@@ -49,7 +49,7 @@ __pthread_destroy_specific (struct __pthread *thread)
continue;
value = thread->thread_specifics[i];
- if (value)
+ if (value != NULL)
{
thread->thread_specifics[i] = 0;