Skip to content

Fix #1123: make compile_snippets fails #1124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Ignore warnings for unused variables in compiled snippets
  • Loading branch information
Matt Hainje committed May 19, 2023
commit ceb0c190ed378164a188c6452460c2a0ef138e71
1 change: 1 addition & 0 deletions util/c.make
Original file line number Diff line number Diff line change
@@ -20,6 +20,7 @@ CFLAGS += -Wall -Wextra -Werror -Wno-unused-parameter
# are functions that aren't used yet.
ifeq ($(SNIPPET),true)
CFLAGS += -Wno-unused-function
CFLAGS += -Wno-unused-but-set-variable
endif

# Mode configuration.