Skip to content

pc/device.c: remove unused argument to ctap_init()#646

Open
scgtrp wants to merge 1 commit intosolokeys:masterfrom
scgtrp:master
Open

pc/device.c: remove unused argument to ctap_init()#646
scgtrp wants to merge 1 commit intosolokeys:masterfrom
scgtrp:master

Conversation

@scgtrp
Copy link
Copy Markdown

@scgtrp scgtrp commented Jan 7, 2026

ctap_init doesn't take an argument. It hasn't taken an argument since 2019 (e8d0ad5).

But due to a quirk of C that was finally removed in C23, passing it an argument was valid. Now it isn't, and this project no longer builds, so this PR removes the bit that makes it not build.

`ctap_init` doesn't take an argument. It hasn't taken an argument since 2019 (e8d0ad5).

But due to a quirk of C that was [finally removed in C23](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2841.htm), passing it an argument was valid. Now it isn't, and this project no longer builds, so this PR removes the bit that makes it not build.
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