From 1582f1b11fe43d8d97bb32505a09fbcccb28d99c Mon Sep 17 00:00:00 2001 From: Prasad Konnur Date: Thu, 12 Sep 2019 16:36:18 +0530 Subject: PDK-4456 : misra c fixes Signed-off-by: Prasad Konnur --- osal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osal.h b/osal.h index ddbdff3..f1d01fb 100644 --- a/osal.h +++ b/osal.h @@ -154,7 +154,7 @@ typedef enum Osal_ThreadType_e { extern void abort(void); /* tell klockwork that OSAL_Assert(1) is fatal */ -#define OSAL_Assert(x) do { if ((x)) { abort(); } } while (0) +#define OSAL_Assert(x) if ((x)) { abort(); } #else -- cgit v1.2.3-54-g00ecf