X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Fevent.cpp;fp=src%2Flib%2Flttng-ctl%2Fevent.cpp;h=b136640dfce031a557cec8a01c98e1d754c17c3c;hp=141fb56842ca5723d71444bf61bfd6d8aac3f99e;hb=cd9adb8b829564212158943a0d279bb35322ab30;hpb=e665dfbce25215d5ec77ff03a279c7163b337db1 diff --git a/src/lib/lttng-ctl/event.cpp b/src/lib/lttng-ctl/event.cpp index 141fb5684..b136640df 100644 --- a/src/lib/lttng-ctl/event.cpp +++ b/src/lib/lttng-ctl/event.cpp @@ -41,7 +41,7 @@ end: return event; error: free(event); - event = NULL; + event = nullptr; goto end; } @@ -80,7 +80,7 @@ int lttng_event_get_filter_expression(struct lttng_event *event, const char **fi * This can happen since the lttng_event structure is * used for other tasks where this pointer is never set. */ - *filter_expression = NULL; + *filter_expression = nullptr; goto end; } @@ -157,7 +157,7 @@ end: const struct lttng_userspace_probe_location * lttng_event_get_userspace_probe_location(const struct lttng_event *event) { - struct lttng_userspace_probe_location *probe_location = NULL; + struct lttng_userspace_probe_location *probe_location = nullptr; struct lttng_event_extended *event_extended; if (!event) {