Skip to content

Make test runner code compile using '-Werror=unused-parameter' - #844

Open
swaldhoer wants to merge 1 commit into
ThrowTheSwitch:masterfrom
swaldhoer:patch-1
Open

Make test runner code compile using '-Werror=unused-parameter'#844
swaldhoer wants to merge 1 commit into
ThrowTheSwitch:masterfrom
swaldhoer:patch-1

Conversation

@swaldhoer

Copy link
Copy Markdown

No description provided.

@mvandervoord

Copy link
Copy Markdown
Member

Hi @swaldhoer -- whenever possible, I like to use the non-toolchain-specific solution to problems. If instead of using a gcc-specific pragma, you tried doing the (void)variable_name; trick for these variables, does that remove the problem on your toolchain? If so, I'd much prefer to use that, because it will fix it elsewhere also. Otherwise, we'll need to wrap this in #ifdefs for checking to see that it's gcc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants