argpar.{c,h}: fix clang-tidy issues
[argpar.git] / argpar / argpar.h
index 4f2083a8c6d59ed0a3219ebb863e5178d14ed61c..52bdbdd93ac00dab91c8661736e738329d1eb79d 100644 (file)
@@ -307,7 +307,7 @@ void argpar_item_destroy(const argpar_item_t *item) ARGPAR_NOEXCEPT;
 #define ARGPAR_ITEM_DESTROY_AND_RESET(_item)                                                       \
     {                                                                                              \
         argpar_item_destroy(_item);                                                                \
-        _item = NULL;                                                                              \
+        (_item) = NULL;                                                                            \
     }
 
 /// @}
This page took 0.022405 seconds and 4 git commands to generate.