-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed as not planned
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
I've observed that in getpath.c
, all unused function parameters are marked with Py_UNUSED. It seems that in timemodule.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
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error