Remove the ENABLED/DISABLED macros (#4515)
The removal of these macros enabled cppcheck to reveal new errors. These errors are also fixed by the patch. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
@@ -37,6 +37,8 @@ done
|
||||
cppcheck -j$CPPCHECK_JOBS --force \
|
||||
--language=c --std=c99 \
|
||||
--quiet \
|
||||
-D'JERRY_LIKELY(x)=(x)' \
|
||||
-D'JERRY_UNLIKELY(x)=(x)' \
|
||||
--enable=warning,style,performance,portability,information \
|
||||
--template="{file}:{line}: {severity}({id}): {message}" \
|
||||
--error-exitcode=1 \
|
||||
|
||||
Reference in New Issue
Block a user