mirror of
https://github.com/postgres/postgres.git
synced 2025-05-09 18:21:05 +03:00
Fix unused-variable warning.
Discussion: https://postgr.es/m/CAMkU=1xTHkS6d0iptCWykHc1Xrh3LBic_gZDo3JzDYru815fLQ@mail.gmail.com
This commit is contained in:
parent
793beab37e
commit
3e0b05a756
@ -2861,7 +2861,6 @@ ExecBuildAggTrans(AggState *aggstate, AggStatePerPhase phase,
|
|||||||
for (transno = 0; transno < aggstate->numtrans; transno++)
|
for (transno = 0; transno < aggstate->numtrans; transno++)
|
||||||
{
|
{
|
||||||
AggStatePerTrans pertrans = &aggstate->pertrans[transno];
|
AggStatePerTrans pertrans = &aggstate->pertrans[transno];
|
||||||
int numInputs = pertrans->numInputs;
|
|
||||||
int argno;
|
int argno;
|
||||||
int setno;
|
int setno;
|
||||||
FunctionCallInfo trans_fcinfo = &pertrans->transfn_fcinfo;
|
FunctionCallInfo trans_fcinfo = &pertrans->transfn_fcinfo;
|
||||||
@ -3016,7 +3015,7 @@ ExecBuildAggTrans(AggState *aggstate, AggStatePerPhase phase,
|
|||||||
argno++;
|
argno++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Assert(numInputs == argno);
|
Assert(pertrans->numInputs == argno);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* For a strict transfn, nothing happens when there's a NULL input; we
|
* For a strict transfn, nothing happens when there's a NULL input; we
|
||||||
|
Loading…
x
Reference in New Issue
Block a user