Skip to content

Commit a18422a

Browse files
committed
Remove useless variable stores
Mistakenly introduced in 4cbe3ac; bug repaired in 148e632 but the stores were accidentally.
1 parent 6bc2769 commit a18422a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/backend/executor/nodeModifyTable.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2368,7 +2368,6 @@ ExecInitModifyTable(ModifyTable *node, EState *estate, int eflags)
23682368
* Initialize any WITH CHECK OPTION constraints if needed.
23692369
*/
23702370
resultRelInfo = mtstate->resultRelInfo;
2371-
i = 0;
23722371
foreach(l, node->withCheckOptionLists)
23732372
{
23742373
List *wcoList = (List *) lfirst(l);
@@ -2387,7 +2386,6 @@ ExecInitModifyTable(ModifyTable *node, EState *estate, int eflags)
23872386
resultRelInfo->ri_WithCheckOptions = wcoList;
23882387
resultRelInfo->ri_WithCheckOptionExprs = wcoExprs;
23892388
resultRelInfo++;
2390-
i++;
23912389
}
23922390

23932391
/*

0 commit comments

Comments
 (0)