Skip to content

Commit 0fc920f

Browse files
Fix warnings
1 parent 5055af7 commit 0fc920f

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Objects/longobject.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4879,8 +4879,6 @@ static PyObject *
48794879
long_divmod(PyObject *a, PyObject *b)
48804880
{
48814881
PyLongObject *div, *mod;
4882-
PyObject *z;
4883-
48844882
CHECK_BINOP(a, b);
48854883

48864884
if (l_divmod((PyLongObject*)a, (PyLongObject*)b, &div, &mod) < 0) {
@@ -6110,7 +6108,7 @@ PyObject *
61106108
_PyLong_DivmodNear(PyObject *a, PyObject *b)
61116109
{
61126110
PyLongObject *quo = NULL, *rem = NULL;
6113-
PyObject *twice_rem, *result, *temp;
6111+
PyObject *twice_rem, *temp;
61146112
int quo_is_odd, quo_is_neg;
61156113
Py_ssize_t cmp;
61166114

@@ -6353,7 +6351,6 @@ static PyObject *
63536351
int_as_integer_ratio_impl(PyObject *self)
63546352
/*[clinic end generated code: output=e60803ae1cc8621a input=384ff1766634bec2]*/
63556353
{
6356-
PyObject *ratio_tuple;
63576354
PyObject *numerator = long_long(self);
63586355
if (numerator == NULL) {
63596356
return NULL;

0 commit comments

Comments
 (0)