Skip to content

Commit

Permalink
cppcheck: Define the common plugin defines to their actual values
Browse files Browse the repository at this point in the history
  • Loading branch information
b4n committed Apr 30, 2024
1 parent 451a33e commit af02767
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions build/cppcheck-geany-plugins.cfg
@@ -1,7 +1,5 @@
<?xml version="1.0"?>
<def format="2">
<!-- Geany-Plugins macros -->
<define name="PLUGIN" value="&quot;foo&quot;"/>
<!-- GLib macros -->
<define name="G_GSSIZE_FORMAT" value="&quot;li&quot;"/>
<define name="G_GINT64_MODIFIER" value="&quot;l&quot;"/>
Expand Down
1 change: 1 addition & 0 deletions build/cppcheck.mk
Expand Up @@ -10,6 +10,7 @@ check-cppcheck: $(srcdir)
-UGEANY_PRIVATE \
-DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
$(filter -j%,$(MAKEFLAGS)) \
$(LOCAL_AM_CFLAGS) \
$(AM_CPPCHECKFLAGS) $(CPPCHECKFLAGS) \
$(srcdir)

Expand Down

0 comments on commit af02767

Please sign in to comment.