X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fthread.cpp;fp=src%2Fbin%2Flttng-sessiond%2Fthread.cpp;h=4077f460ef4c11dc31c5ce10b26ca2ed75348f06;hp=661bc517b2f6a37e8ffa29c935d09f1583f73867;hb=cd9adb8b829564212158943a0d279bb35322ab30;hpb=e665dfbce25215d5ec77ff03a279c7163b337db1 diff --git a/src/bin/lttng-sessiond/thread.cpp b/src/bin/lttng-sessiond/thread.cpp index 661bc517b..4077f460e 100644 --- a/src/bin/lttng-sessiond/thread.cpp +++ b/src/bin/lttng-sessiond/thread.cpp @@ -121,7 +121,7 @@ error_pthread_create: /* Release initial reference. */ lttng_thread_put(thread); error_alloc: - return NULL; + return nullptr; } bool lttng_thread_get(struct lttng_thread *thread) @@ -183,7 +183,7 @@ bool lttng_thread_shutdown(struct lttng_thread *thread) return result; } -void lttng_thread_list_shutdown_orphans(void) +void lttng_thread_list_shutdown_orphans() { struct lttng_thread *thread, *tmp;