X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fargpar%2Fargpar.h;fp=src%2Fcommon%2Fargpar%2Fargpar.h;h=af9df9f5bee69caf8c8ff6bd99e52acd67889ea0;hp=c528cc4412272700990a0a61a480b6859ce57c18;hb=5c7248cd5bce45bf64d563fb4e130a63bf345f11;hpb=cd9adb8b829564212158943a0d279bb35322ab30 diff --git a/src/common/argpar/argpar.h b/src/common/argpar/argpar.h index c528cc441..af9df9f5b 100644 --- a/src/common/argpar/argpar.h +++ b/src/common/argpar/argpar.h @@ -334,7 +334,7 @@ void argpar_item_destroy(const struct argpar_item *item); #define ARGPAR_ITEM_DESTROY_AND_RESET(_item) \ { \ argpar_item_destroy(_item); \ - _item = NULL; \ + ((_item)) = NULL; \ } /// @}