Skip to content

Commit

Permalink
Remove obsolete cppcheck suppressions
Browse files Browse the repository at this point in the history
  • Loading branch information
b4n committed May 2, 2024
1 parent fbd308f commit 4280d74
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions geanyprj/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,4 @@ unittests_CFLAGS = $(GEANY_CFLAGS) -DUNITTESTS
unittests_LDADD = @GEANY_LIBS@ $(INTLLIBS) @CHECK_LIBS@
endif

AM_CPPCHECKFLAGS = --suppress='constStatement:*'

include $(top_srcdir)/build/cppcheck.mk
3 changes: 1 addition & 2 deletions treebrowser/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ treebrowser_la_CFLAGS = $(AM_CFLAGS) $(GIO_CFLAGS) \
treebrowser_la_LIBADD = $(COMMONLIBS) $(GIO_LIBS) \
$(top_builddir)/utils/src/libgeanypluginutils.la

AM_CPPCHECKFLAGS = --suppress='deallocDealloc:$(srcdir)/treebrowser.c'
AM_CPPCHECKFLAGS += --suppress='doubleFree:$(srcdir)/treebrowser.c'
AM_CPPCHECKFLAGS = --suppress='doubleFree:$(srcdir)/treebrowser.c'

include $(top_srcdir)/build/cppcheck.mk

0 comments on commit 4280d74

Please sign in to comment.