Kaydet (Commit) a2fedd8c authored tarafından Emmanuel Arias's avatar Emmanuel Arias Kaydeden (comit) Inada Naoki

bpo-36869: fix warning of unused variables (GH-13182)

üst 1b4abcf3
...@@ -459,6 +459,7 @@ static PyObject *empty_values[1] = { NULL }; ...@@ -459,6 +459,7 @@ static PyObject *empty_values[1] = { NULL };
int int
_PyDict_CheckConsistency(PyObject *op, int check_content) _PyDict_CheckConsistency(PyObject *op, int check_content)
{ {
#ifndef NDEBUG
_PyObject_ASSERT(op, PyDict_Check(op)); _PyObject_ASSERT(op, PyDict_Check(op));
PyDictObject *mp = (PyDictObject *)op; PyDictObject *mp = (PyDictObject *)op;
...@@ -517,7 +518,7 @@ _PyDict_CheckConsistency(PyObject *op, int check_content) ...@@ -517,7 +518,7 @@ _PyDict_CheckConsistency(PyObject *op, int check_content)
} }
} }
} }
#endif
return 1; return 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment