aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-09-26 20:43:44 +1000
committerStefano Brivio <sbrivio@redhat.com>2022-09-29 12:21:34 +0200
commit2e7f9da6d1513c84ac9d1f039d73f1e803b3a2a1 (patch)
treede92cd3518c85077670ebb8cd9014a6491c04599
parentd0629ff2b238fc4b38a333320d78eab5f65b10d0 (diff)
downloadpasst-2e7f9da6d1513c84ac9d1f039d73f1e803b3a2a1.tar
passt-2e7f9da6d1513c84ac9d1f039d73f1e803b3a2a1.tar.gz
passt-2e7f9da6d1513c84ac9d1f039d73f1e803b3a2a1.tar.bz2
passt-2e7f9da6d1513c84ac9d1f039d73f1e803b3a2a1.tar.lz
passt-2e7f9da6d1513c84ac9d1f039d73f1e803b3a2a1.tar.xz
passt-2e7f9da6d1513c84ac9d1f039d73f1e803b3a2a1.tar.zst
passt-2e7f9da6d1513c84ac9d1f039d73f1e803b3a2a1.zip
cppcheck: Run quietly
Adding the --quiet option to cppcheck makes the actual errors and warnings easier to find. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8e6428b..22378e8 100644
--- a/Makefile
+++ b/Makefile
@@ -277,7 +277,7 @@ SYSTEM_INCLUDES += /usr/lib/gcc/$(TARGET)/$(VER)/include
endif
cppcheck: $(SRCS) $(HEADERS)
cppcheck --std=c99 --error-exitcode=1 --enable=all --force \
- --inconclusive --library=posix \
+ --inconclusive --library=posix --quiet \
$(SYSTEM_INCLUDES:%=-I%) \
$(SYSTEM_INCLUDES:%=--config-exclude=%) \
$(SYSTEM_INCLUDES:%=--suppress=*:%/*) \