diff --git a/jerry-core/jrt/jrt.h b/jerry-core/jrt/jrt.h index 8ced0a61e..5b195ff38 100644 --- a/jerry-core/jrt/jrt.h +++ b/jerry-core/jrt/jrt.h @@ -144,11 +144,11 @@ template extern void jerry_ref_unused_variables (const value #define JERRY_UNIMPLEMENTED_REF_UNUSED_VARS(comment, ...) \ do \ { \ - jerry_unimplemented (comment, __FILE__, __func__, __LINE__); \ if (false) \ { \ jerry_ref_unused_variables (0, __VA_ARGS__); \ } \ + jerry_unimplemented (comment, __FILE__, __func__, __LINE__); \ } while (0) #else /* !JERRY_NDEBUG */ #define JERRY_UNREACHABLE() \ @@ -166,11 +166,11 @@ template extern void jerry_ref_unused_variables (const value #define JERRY_UNIMPLEMENTED_REF_UNUSED_VARS(comment, ...) \ do \ { \ - jerry_unimplemented (comment, NULL, NULL, 0); \ if (false) \ { \ jerry_ref_unused_variables (0, __VA_ARGS__); \ } \ + jerry_unimplemented (comment, NULL, NULL, 0); \ } while (0) #endif /* JERRY_NDEBUG */