Skip to content

Commit

Permalink
bpo-36869: fix warning of unused variables (GH-13182)
Browse files Browse the repository at this point in the history
  • Loading branch information
eamanu authored and methane committed May 10, 2019
1 parent 1b4abcf commit a2fedd8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Objects/dictobject.c
Expand Up @@ -459,6 +459,7 @@ static PyObject *empty_values[1] = { NULL };
int
_PyDict_CheckConsistency(PyObject *op, int check_content)
{
#ifndef NDEBUG
_PyObject_ASSERT(op, PyDict_Check(op));
PyDictObject *mp = (PyDictObject *)op;

Expand Down Expand Up @@ -517,7 +518,7 @@ _PyDict_CheckConsistency(PyObject *op, int check_content)
}
}
}

#endif
return 1;
}

Expand Down

0 comments on commit a2fedd8

Please sign in to comment.