kopia lustrzana https://github.com/Hamlib/Hamlib
Fix passing one or more paths to ./cppcheck.sh
The --check-config arguments can be passed explicitly if desired.pull/1251/head
rodzic
c9e2c5f697
commit
b02ff9daa1
|
@ -93,8 +93,7 @@ if test $# -eq 0 ; then
|
||||||
. \
|
. \
|
||||||
>cppcheck.log 2>&1
|
>cppcheck.log 2>&1
|
||||||
else
|
else
|
||||||
cppcheck --check-config \
|
cppcheck --inline-suppr \
|
||||||
--inline-suppr \
|
|
||||||
-I src \
|
-I src \
|
||||||
-I include \
|
-I include \
|
||||||
--include=include/hamlib/config.h \
|
--include=include/hamlib/config.h \
|
||||||
|
@ -105,5 +104,5 @@ else
|
||||||
--std=c99 \
|
--std=c99 \
|
||||||
$SUPPRESS \
|
$SUPPRESS \
|
||||||
$CHECK \
|
$CHECK \
|
||||||
$1
|
"$@"
|
||||||
fi
|
fi
|
||||||
|
|
Ładowanie…
Reference in New Issue