clang-tidy: add Chrome-inspired checks
[lttng-tools.git] / src / bin / lttng-sessiond / notify-apps.cpp
index 5d67a914f8ecbc6abefba99b8a6709bd33efd61c..a73e9df5837cb0723b4190ce0fd1f50a025b3b5c 100644 (file)
@@ -69,7 +69,7 @@ static void *thread_application_notification(void *data)
 
        health_code_update();
 
-       while (1) {
+       while (true) {
                DBG3("[ust-thread] Manage notify polling");
 
                /* Inifinite blocking call, waiting for transmission */
@@ -197,7 +197,7 @@ error_testpoint:
        health_unregister(the_health_sessiond);
        rcu_thread_offline();
        rcu_unregister_thread();
-       return NULL;
+       return nullptr;
 }
 
 static bool shutdown_application_notification_thread(void *data)
This page took 0.029513 seconds and 4 git commands to generate.