Skip to content

Conversation

rruuaanng
Copy link
Contributor

@rruuaanng rruuaanng commented Oct 15, 2024

@rruuaanng rruuaanng changed the title gh-125508: Wrap unused argument in _sqlite/connection.c with Py_UNUSED gh-125510: Wrap unused argument in _sqlite/connection.c with Py_UNUSED Oct 15, 2024
@ZeroIntensity
Copy link
Member

IIRC, unused* marks something to the compiler as unused anyway, so this PR is purely cosmetic.

@rruuaanng
Copy link
Contributor Author

It does not actually use __attribute__((unused)), which for the GNU compiler does not suppress the warning.

@rruuaanng rruuaanng deleted the gh125508 branch October 15, 2024 11:17
@ZeroIntensity
Copy link
Member

The attribute only applies to functions, not parameters, AFAIK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants