Skip to content
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

Fix a compilation error when DEBUG is undefined #215

Merged
merged 5 commits into from
Jan 16, 2022

Conversation

whot
Copy link
Member

@whot whot commented Jan 11, 2022

Fixes #214

@whot whot force-pushed the wip/debug-compile-error branch from 286c8e6 to 3b23d26 Compare January 11, 2022 23:16
whot added 3 commits January 12, 2022 09:26
This was always set to nbbuttons, so we don't need a separate variable
here.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Both are unconditionally set a few lines south of here

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This removes the compiler warnings when DEBUG is undefined, they're all
only used for debug logging but we don't want to ifdef them everywhere.
v5 is the only one "used" but only to re-calculate things.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
@whot whot force-pushed the wip/debug-compile-error branch from 3b23d26 to f5ded0b Compare January 11, 2022 23:27
whot added 2 commits January 12, 2022 09:30
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Fixes linuxwacom#214

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
@whot whot force-pushed the wip/debug-compile-error branch from f5ded0b to 517deb9 Compare January 11, 2022 23:31
@whot whot merged commit 93b7ff5 into linuxwacom:master Jan 16, 2022
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.

Building from git master requires DEBUG
1 participant