Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8c44802

Browse files
committed
Remove redundant initialization of a local variable.
In what was doubtless a typo, commitbf6c614 introduced a duplicateinitialization of a local variable. This made Coverity unhappy, as wellas pretty much anybody reading the code. We don't even have a real usefor the local variable, so just remove it.
1 parentebf6049 commit8c44802

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,inteflags)
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)

[8]ページ先頭

©2009-2025 Movatter.jp