clang-tidy: add Chrome-inspired checks
[lttng-tools.git] / src / common / kernel-ctl / kernel-ctl.cpp
index 5d66acec4e73c9299a37b17fa1c649ce264118a5..d3a97ce843f5bd860a8967c2ac9a64bd3ee0e631 100644 (file)
@@ -155,7 +155,7 @@ int kernctl_create_channel(int fd, struct lttng_channel_attr *chops)
 
 int kernctl_syscall_mask(int fd, char **syscall_mask, uint32_t *nr_bits)
 {
 
 int kernctl_syscall_mask(int fd, char **syscall_mask, uint32_t *nr_bits)
 {
-       struct lttng_kernel_abi_syscall_mask kmask_len, *kmask = NULL;
+       struct lttng_kernel_abi_syscall_mask kmask_len, *kmask = nullptr;
        size_t array_alloc_len;
        char *new_mask;
        int ret = 0;
        size_t array_alloc_len;
        char *new_mask;
        int ret = 0;
This page took 0.023074 seconds and 4 git commands to generate.