Skip to content

Silence -Wunused-parameter warnings for numThreads in non-NUMA builds - #501

Open
RaimundHeid wants to merge 1 commit into
Yoshie2000:mainfrom
RaimundHeid:silence-numa-warnings
Open

RaimundHeid wants to merge 1 commit into
Yoshie2000:mainfrom
RaimundHeid:silence-numa-warnings

Conversation

@RaimundHeid

Copy link
Copy Markdown
Contributor

shouldConfigureNuma(), getNumaNode() and configureThreadBinding() do not use their numThreads parameter when USE_NUMA is undefined, which caused -Wunused-parameter warnings. Add (void) casts following the existing style, making the build warning-free.

shouldConfigureNuma(), getNumaNode() and configureThreadBinding() do not
use their numThreads parameter when USE_NUMA is undefined, which caused
-Wunused-parameter warnings. Add (void) casts following the existing
style, making the build warning-free.

Bench: 3788658
@RaimundHeid
RaimundHeid force-pushed the silence-numa-warnings branch from 6c9a37e to 28aa7a4 Compare November 20, 2026 10:22
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.

1 participant