Skip to content

Fix unused function warnings for swaps#33

Open
a-e-k wants to merge 1 commit intorichgel999:mainfrom
a-e-k:aek/unused
Open

Fix unused function warnings for swaps#33
a-e-k wants to merge 1 commit intorichgel999:mainfrom
a-e-k:aek/unused

Conversation

@a-e-k
Copy link

@a-e-k a-e-k commented Sep 2, 2025

I ran into some warnings from Clang (-Wunused-function) regarding swap64() not being used, given the preprocessor definitions that I'd had. This change just pushes the definitions of the swap functions down into the #if'd branches so that they're only defined if needed (and inlines the simple_swapXX() functions accordingly).

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