X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fsnapshot.cpp;h=765c11cb4d60efab0fbd84de372dd68f0c571f1f;hb=11927a7859022cf38a4153767cc96fda4987070d;hp=ba4a554513a75171c7febe6b243da5bc1fc2ea52;hpb=28ab034a2c3582d07d3423d2d746731f87d3969f;p=lttng-tools.git diff --git a/src/common/snapshot.cpp b/src/common/snapshot.cpp index ba4a55451..765c11cb4 100644 --- a/src/common/snapshot.cpp +++ b/src/common/snapshot.cpp @@ -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: