mirror of
https://github.com/postgres/postgres.git
synced 2025-08-09 17:03:00 +03:00
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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user