mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
Correct cppcheck errors
ZFS buildbot STYLE builder was moved to Ubuntu 17.04 which has a newer version of cppcheck. Handle the new cppcheck errors. uu_* functions removed in this commit were unused and effectively dead code. They are now retired. Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov> Closes #6653
This commit is contained in:
committed by
Brian Behlendorf
parent
8e2dddab42
commit
34d00e7aba
+4
-2
@@ -69,8 +69,10 @@ lint: cppcheck paxcheck
|
||||
|
||||
cppcheck:
|
||||
@if type cppcheck > /dev/null 2>&1; then \
|
||||
cppcheck --inline-suppr --quiet --force --error-exitcode=2 \
|
||||
${top_srcdir}; \
|
||||
cppcheck --quiet --force --error-exitcode=2 \
|
||||
--suppressions-list=.github/suppressions.txt \
|
||||
-UHAVE_SSE2 -UHAVE_AVX512F \
|
||||
${top_srcdir}; \
|
||||
fi
|
||||
|
||||
paxcheck:
|
||||
|
||||
Reference in New Issue
Block a user