clang-tidy: add Chrome-inspired checks
[lttng-tools.git] / src / bin / lttng-sessiond / thread.cpp
index 661bc517b2f6a37e8ffa29c935d09f1583f73867..4077f460ef4c11dc31c5ce10b26ca2ed75348f06 100644 (file)
@@ -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;
 
This page took 0.022986 seconds and 4 git commands to generate.