../../Modules/posixmodule.c:7883:1: warning: unused function 'warn_about_fork_with_threads' [-Wunused-function]
../../Modules/posixmodule.c:12545:1: warning: unused function 'major_minor_conv' [-Wunused-function]
../../Modules/posixmodule.c:12556:1: warning: unused function 'major_minor_check' [-Wunused-function]
I propose to add the same conditions to these functions as well.
Bug report
Link: https://buildbot.python.org/all/#/builders/1046/builds/5439
The problem is that these helpers are defined without a
#ifdefguard, while functions that use them have a conditional definition.I propose to add the same conditions to these functions as well.
Linked PRs
posixmodule.c#120588posixmodule.c(GH-120588) #120616posixmodule.c(GH-120588) #120617