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

misc.c: variadic params for cpuid command on x86 only #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

samek-h
Copy link

@samek-h samek-h commented Aug 28, 2021

As the cpuid command is only compiled on x86, make the creation of variadic
parameters structure also x86-specific. This prevents the warning for unused
variable cpuid_params (which gets escalated to an error due to -Werror).

Fixes #23 .

As the cpuid command is only compiled on x86, make the creation of variadic
parameters structure also x86-specific. This prevents the warning for unused
variable `cpuid_params` (which gets escalated to an error due to `-Werror`).

Signed-off-by: Jan Samek <[email protected]>
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.

Warning escalated to error during aarch64 compilation
1 participant