summaryrefslogtreecommitdiff
path: root/lib/safestack/safestack.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/safestack/safestack.cc')
-rw-r--r--lib/safestack/safestack.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/safestack/safestack.cc b/lib/safestack/safestack.cc
index 504bd3cd0..5254462d9 100644
--- a/lib/safestack/safestack.cc
+++ b/lib/safestack/safestack.cc
@@ -171,7 +171,7 @@ INTERCEPTOR(int, pthread_create, pthread_t *thread,
size_t size = 0;
size_t guard = 0;
- if (attr != NULL) {
+ if (attr) {
pthread_attr_getstacksize(attr, &size);
pthread_attr_getguardsize(attr, &guard);
} else {