Re: [RFC/PATCH] Makefile: suppress some cppcheck false-positives

2016-12-16 Thread Jeff King
On Fri, Dec 16, 2016 at 10:43:48AM -0800, Junio C Hamano wrote: > > diff --git a/nedmalloc.supp b/nedmalloc.supp > [...] > > diff --git a/regcomp.supp b/regcomp.supp > > Yuck for both files for multiple reasons. > > I do not think it is a good idea to allow these files to clutter the > top-level

Re: [RFC/PATCH] Makefile: suppress some cppcheck false-positives

2016-12-16 Thread Junio C Hamano
Chris Packham writes: > -CPPCHECK_FLAGS = --force --quiet --inline-suppr $(if > $(CPPCHECK_ADD),--enable=$(CPPCHECK_ADD)) > +CPPCHECK_SUPP = --suppressions-list=nedmalloc.supp \ > + --suppressions-list=regcomp.supp > + > +CPPCHECK_FLAGS = --force --quiet --inline-suppr \ > + $(if $(CPPCH