提交 be134e9d 编写于 作者: D D'Arcy J.M. Cain

Add an unnecessary assignment to remove a bogus warning. I checked the

logic carefully and I am sure that the test against n happens after it
is assigned to.
上级 1d8dfe3a
......@@ -2375,6 +2375,9 @@ pg_inserttable(pgobject * self, PyObject * args)
if (m)
{
/* not strictly necessary but removes a bogus warning */
n = 0;
/* checks sublists type and size */
for (i = 0; i < m; i++)
{
......@@ -2399,7 +2402,7 @@ pg_inserttable(pgobject * self, PyObject * args)
}
}
else
n=j;
n = j; /* never used before this assignment */
}
if (n)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册