Commit c1277c90 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner

cppcheck suppressions: more names for alloca

Alloca is completely OK and we have reasons to use it. So allow it
globally. But it seems cppcheck is not consistent between versions in
its ID, so list both.
parent e12ec9cd
......@@ -232,4 +232,4 @@ $(O)/lua_lib/%:
cppcheck-%:
$(M) CCPC $@
$(Q)cppcheck --enable=style --enable=warning --std=c99 --suppress=allocaCalled --template='{file}:{line},{severity},{id},{message}' --inline-suppr --error-exitcode=1 -q $^
$(Q)cppcheck --enable=style --enable=warning --std=c99 --suppress=allocaCalled --suppress=obsoleteFunctionsalloca --template='{file}:{line},{severity},{id},{message}' --inline-suppr --error-exitcode=1 -q $^
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment