cppcheck: Exclude the doc directory.

Change-Id: I8d739c7cae7b1b5676cb04e7140d2dd81ebae1d3
Reviewed-on: https://code.wireshark.org/review/35168
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Gerald Combs 2019-11-20 15:00:37 -08:00 committed by Anders Broman
parent 48725641c9
commit 45c6ba587d
1 changed files with 5 additions and 3 deletions

View File

@ -98,9 +98,11 @@ trap : INT
# shellcheck disable=SC2086
$CPPCHECK --force --enable=style $QUIET \
$SUPPRESSIONS $INCLUDES -i epan/dissectors/asn1/ \
--std=c99 --template=$TEMPLATE \
-j $THREADS $TARGET 2>&1 | colorize
$SUPPRESSIONS $INCLUDES \
-i doc/ \
-i epan/dissectors/asn1/ \
--std=c99 --template=$TEMPLATE \
-j $THREADS $TARGET 2>&1 | colorize
if [ "$MODE" = "html" ]; then
echo "</table></body></html>"