cppcheck: Remove unused unmatchedSuppression suppressions
It's unclear what original suppressions these unmatchedSuppression suppressions were supposed to go with. They don't trigger any warnings on the current code that I can tell, so remove them. If we find a problem with some cppcheck versions in future, replace them with inline suppressions so it's clearer exactly where the issue is originating. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
f5d053034c
commit
65b649017c
1 changed files with 0 additions and 3 deletions
3
Makefile
3
Makefile
|
@ -284,8 +284,5 @@ cppcheck: $(SRCS) $(HEADERS)
|
|||
$(SYSTEM_INCLUDES:%=--suppress=unmatchedSuppression:%/*) \
|
||||
--inline-suppr \
|
||||
--suppress=unusedStructMember \
|
||||
\
|
||||
--suppress=unmatchedSuppression:dhcp.c \
|
||||
--suppress=unmatchedSuppression:pcap.c \
|
||||
$(filter -D%,$(FLAGS) $(CFLAGS)) \
|
||||
.
|
||||
|
|
Loading…
Reference in a new issue