Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d8dfe3 commit be134e9Copy full SHA for be134e9
src/interfaces/python/pgmodule.c
@@ -2375,6 +2375,9 @@ pg_inserttable(pgobject * self, PyObject * args)
2375
2376
if (m)
2377
{
2378
+ /* not strictly necessary but removes a bogus warning */
2379
+ n = 0;
2380
+
2381
/* checks sublists type and size */
2382
for (i = 0; i < m; i++)
2383
@@ -2399,7 +2402,7 @@ pg_inserttable(pgobject * self, PyObject * args)
2399
2402
}
2400
2403
2401
2404
else
- n=j;
2405
+ n = j; /* never used before this assignment */
2406
2407
if (n)
2408
0 commit comments