clang-tidy: add Chrome-inspired checks
[lttng-tools.git] / src / common / snapshot.cpp
index ba4a554513a75171c7febe6b243da5bc1fc2ea52..765c11cb4d60efab0fbd84de372dd68f0c571f1f 100644 (file)
@@ -127,7 +127,7 @@ ssize_t lttng_snapshot_output_create_from_payload(struct lttng_payload_view *vie
                                                  struct lttng_snapshot_output **output_p)
 {
        const struct lttng_snapshot_output_comm *comm;
-       struct lttng_snapshot_output *output = NULL;
+       struct lttng_snapshot_output *output = nullptr;
        int ret;
 
        if (view->buffer.size != sizeof(*comm)) {
@@ -162,7 +162,7 @@ ssize_t lttng_snapshot_output_create_from_payload(struct lttng_payload_view *vie
        }
 
        *output_p = output;
-       output = NULL;
+       output = nullptr;
        ret = sizeof(*comm);
 
 end:
This page took 0.022451 seconds and 4 git commands to generate.