mirror of
https://github.com/python/cpython.git
synced 2025-07-31 07:04:42 +00:00
This change shouldn't have any functional effect. Coverity was
complaining because it seemed like parameters_iter could be NULL.
This commit is contained in:
parent
d126200aeb
commit
b43199822b
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ PyObject* _query_execute(Cursor* self, int multiple, PyObject* args)
|
||||||
} else {
|
} else {
|
||||||
/* sequence */
|
/* sequence */
|
||||||
parameters_iter = PyObject_GetIter(second_argument);
|
parameters_iter = PyObject_GetIter(second_argument);
|
||||||
if (PyErr_Occurred())
|
if (!parameters_iter)
|
||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue