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.
This commit is contained in:
parent
1d8dfe3ac4
commit
be134e9dc4
@ -2375,6 +2375,9 @@ pg_inserttable(pgobject * self, PyObject * args)
|
|||||||
|
|
||||||
if (m)
|
if (m)
|
||||||
{
|
{
|
||||||
|
/* not strictly necessary but removes a bogus warning */
|
||||||
|
n = 0;
|
||||||
|
|
||||||
/* checks sublists type and size */
|
/* checks sublists type and size */
|
||||||
for (i = 0; i < m; i++)
|
for (i = 0; i < m; i++)
|
||||||
{
|
{
|
||||||
@ -2399,7 +2402,7 @@ pg_inserttable(pgobject * self, PyObject * args)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
n=j;
|
n = j; /* never used before this assignment */
|
||||||
}
|
}
|
||||||
if (n)
|
if (n)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user