Skip to content

Commit 8c44802

Browse files
committed
Remove redundant initialization of a local variable.
In what was doubtless a typo, commit bf6c614 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.
1 parent ebf6049 commit 8c44802

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/executor/nodeGroup.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ GroupState *
162162
ExecInitGroup(Group *node, EState *estate, int eflags)
163163
{
164164
GroupState *grpstate;
165-
AttrNumber *grpColIdx = grpColIdx = node->grpColIdx;
166165

167166
/* check for unsupported flags */
168167
Assert(!(eflags & (EXEC_FLAG_BACKWARD | EXEC_FLAG_MARK)));
@@ -209,7 +208,7 @@ ExecInitGroup(Group *node, EState *estate, int eflags)
209208
grpstate->eqfunction =
210209
execTuplesMatchPrepare(ExecGetResultType(outerPlanState(grpstate)),
211210
node->numCols,
212-
grpColIdx,
211+
node->grpColIdx,
213212
node->grpOperators,
214213
&grpstate->ss.ps);
215214

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy