tap: import some changes
[argpar.git] / argpar / argpar.h
index 4f2083a8c6d59ed0a3219ebb863e5178d14ed61c..d11a764a9ad3410e0399a848d0d937ab30620d90 100644 (file)
@@ -1,8 +1,7 @@
 /*
  * SPDX-License-Identifier: MIT
- *
- * Copyright (c) 2019-2021 Philippe Proulx <pproulx@efficios.com>
- * Copyright (c) 2020-2021 Simon Marchi <simon.marchi@efficios.com>
+ * SPDX-FileCopyrightText: 2019-2024 Philippe Proulx <pproulx@efficios.com>
+ * SPDX-FileCopyrightText: 2020-2024 Simon Marchi <simon.marchi@efficios.com>
  */
 
 #ifndef ARGPAR_ARGPAR_H
@@ -307,7 +306,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.027475 seconds and 4 git commands to generate.