mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-01 11:41:19 +02:00
Remove redundant initialization of a local variable.
In what was doubtless a typo, commit bf6c614a2
introduced a duplicate
initialization of a local variable. This made Coverity unhappy, as well
as pretty much anybody reading the code. We don't even have a real use
for the local variable, so just remove it.
This commit is contained in:
parent
ebf6049ebe
commit
8c44802b6e
@ -162,7 +162,6 @@ GroupState *
|
|||||||
ExecInitGroup(Group *node, EState *estate, int eflags)
|
ExecInitGroup(Group *node, EState *estate, int eflags)
|
||||||
{
|
{
|
||||||
GroupState *grpstate;
|
GroupState *grpstate;
|
||||||
AttrNumber *grpColIdx = grpColIdx = node->grpColIdx;
|
|
||||||
|
|
||||||
/* check for unsupported flags */
|
/* check for unsupported flags */
|
||||||
Assert(!(eflags & (EXEC_FLAG_BACKWARD | EXEC_FLAG_MARK)));
|
Assert(!(eflags & (EXEC_FLAG_BACKWARD | EXEC_FLAG_MARK)));
|
||||||
@ -209,7 +208,7 @@ ExecInitGroup(Group *node, EState *estate, int eflags)
|
|||||||
grpstate->eqfunction =
|
grpstate->eqfunction =
|
||||||
execTuplesMatchPrepare(ExecGetResultType(outerPlanState(grpstate)),
|
execTuplesMatchPrepare(ExecGetResultType(outerPlanState(grpstate)),
|
||||||
node->numCols,
|
node->numCols,
|
||||||
grpColIdx,
|
node->grpColIdx,
|
||||||
node->grpOperators,
|
node->grpOperators,
|
||||||
&grpstate->ss.ps);
|
&grpstate->ss.ps);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user