mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-22 09:57:41 +00:00
[#3731] Fix cppcheck
This commit is contained in:
parent
ad93289470
commit
8fb0025d2e
@ -645,7 +645,6 @@ run_target(
|
|||||||
command: [f'@TOP_SOURCE_DIR@/changelog_unreleased/.add-entry.sh'],
|
command: [f'@TOP_SOURCE_DIR@/changelog_unreleased/.add-entry.sh'],
|
||||||
)
|
)
|
||||||
|
|
||||||
# todo: remove redirections
|
|
||||||
if cppcheck.found()
|
if cppcheck.found()
|
||||||
run_target(
|
run_target(
|
||||||
'cppcheck',
|
'cppcheck',
|
||||||
@ -654,7 +653,6 @@ if cppcheck.found()
|
|||||||
'-I.',
|
'-I.',
|
||||||
'-I./src/lib',
|
'-I./src/lib',
|
||||||
'-I./src/bin',
|
'-I./src/bin',
|
||||||
'--error-exitcode=1',
|
|
||||||
'--inline-suppr',
|
'--inline-suppr',
|
||||||
'--quiet',
|
'--quiet',
|
||||||
'--max-configs=256',
|
'--max-configs=256',
|
||||||
@ -663,9 +661,6 @@ if cppcheck.found()
|
|||||||
'--xml',
|
'--xml',
|
||||||
'--xml-version=2',
|
'--xml-version=2',
|
||||||
'.',
|
'.',
|
||||||
'>',
|
|
||||||
'cppcheck-result.xml',
|
|
||||||
'2>&1',
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user