Skip to content

Commit 51c1f10

Browse files
remove another forward declaration
Co-authored-by: Serhiy Storchaka <[email protected]>
1 parent 12475f6 commit 51c1f10

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Modules/posixmodule.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8221,11 +8221,9 @@ static PyObject *
82218221
os_sched_get_priority_min_impl(PyObject *module, int policy)
82228222
/*[clinic end generated code: output=7595c1138cc47a6d input=21bc8fa0d70983bf]*/
82238223
{
8224-
int min;
8225-
82268224
/* make sure that errno is cleared before the call */
82278225
errno = 0;
8228-
min = sched_get_priority_min(policy);
8226+
int min = sched_get_priority_min(policy);
82298227
if (min == -1 && errno)
82308228
return posix_error();
82318229
return PyLong_FromLong(min);

0 commit comments

Comments
 (0)