Content-Length: 273623 | pFad | http://github.com/postgrespro/postgres/commit/3e0b05a75673f0ad73d5487efe814485a9fcf68f

19 Fix unused-variable warning. · postgrespro/postgres@3e0b05a · GitHub
Skip to content

Commit 3e0b05a

Browse files
committed
1 parent 793beab commit 3e0b05a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/executor/execExpr.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2861,7 +2861,6 @@ ExecBuildAggTrans(AggState *aggstate, AggStatePerPhase phase,
28612861
for (transno = 0; transno < aggstate->numtrans; transno++)
28622862
{
28632863
AggStatePerTrans pertrans = &aggstate->pertrans[transno];
2864-
int numInputs = pertrans->numInputs;
28652864
int argno;
28662865
int setno;
28672866
FunctionCallInfo trans_fcinfo = &pertrans->transfn_fcinfo;
@@ -3016,7 +3015,7 @@ ExecBuildAggTrans(AggState *aggstate, AggStatePerPhase phase,
30163015
argno++;
30173016
}
30183017
}
3019-
Assert(numInputs == argno);
3018+
Assert(pertrans->numInputs == argno);
30203019

30213020
/*
30223021
* For a strict transfn, nothing happens when there's a NULL input; we

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/3e0b05a75673f0ad73d5487efe814485a9fcf68f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy