clang-tidy: add Chrome-inspired checks
[lttng-tools.git] / src / bin / lttng-sessiond / condition-internal.cpp
index daf2bd37168d883efaeca6af2d528202af50394b..ee7b4305ad813172d23238a547efd0dc2c033ed6 100644 (file)
@@ -125,7 +125,7 @@ struct lttng_condition *lttng_condition_copy(const struct lttng_condition *condi
 {
        int ret;
        struct lttng_payload copy_buffer;
-       struct lttng_condition *copy = NULL;
+       struct lttng_condition *copy = nullptr;
 
        lttng_payload_init(&copy_buffer);
 
@@ -140,7 +140,7 @@ struct lttng_condition *lttng_condition_copy(const struct lttng_condition *condi
 
                ret = lttng_condition_create_from_payload(&view, &copy);
                if (ret < 0) {
-                       copy = NULL;
+                       copy = nullptr;
                        goto end;
                }
        }
This page took 0.023766 seconds and 4 git commands to generate.