Skip to content

Wrap unused argument in _sqlite/connection.c with Py_UNUSED #125510

@rruuaanng

Description

@rruuaanng

Bug report

Bug description:

# Add a code block here, if required

It seems that in _sqlite/connection.c, although the function argument are named unused, they do not actually use __attribute__((unused)). I'm not sure if this is intentional, but doing so can eliminate warnings from the compiler under -Wall.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions