summaryrefslogtreecommitdiff
path: root/src/lib/dlt_user.c
diff options
context:
space:
mode:
authormichael-methner <mmethner@de.adit-jv.com>2023-05-08 09:50:17 +0200
committerGitHub <noreply@github.com>2023-05-08 09:50:17 +0200
commitcfc2c86bfec130fb8a95ff0c2553d5c1dd1bd3c1 (patch)
tree610b48db93184a7386d099e5d51219aa956789ab /src/lib/dlt_user.c
parentb543d480c53aaaaeb6472634d535c3fb6d00f61f (diff)
downloadDLT-daemon-cfc2c86bfec130fb8a95ff0c2553d5c1dd1bd3c1.tar.gz
Fix macro code to use boolean value in while instruction (false) (#469)
* Fix macro code to use boolean value in while instruction (false) Signed-off-by: Michael Methner <mmethner@de.adit-jv.com>
Diffstat (limited to 'src/lib/dlt_user.c')
-rw-r--r--src/lib/dlt_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dlt_user.c b/src/lib/dlt_user.c
index 52a30e1..0397e48 100644
--- a/src/lib/dlt_user.c
+++ b/src/lib/dlt_user.c
@@ -85,7 +85,7 @@
int *p = NULL; \
*p = 0; \
} \
- } while (0)
+ } while (false)
#else /* DLT_FATAL_LOG_RESET_ENABLE */
# define DLT_LOG_FATAL_RESET_TRAP(LOGLEVEL)
#endif /* DLT_FATAL_LOG_RESET_ENABLE */