mirror of
https://github.com/postgres/postgres.git
synced 2025-05-24 00:03:23 -04:00
Fix compiler warning about unitialized variables.
This commit is contained in:
parent
63df35e249
commit
1eae8e1228
@ -256,10 +256,10 @@ ExecAgg(Agg *node)
|
|||||||
for(i = 0; i < nagg; i++) {
|
for(i = 0; i < nagg; i++) {
|
||||||
AttrNumber attnum;
|
AttrNumber attnum;
|
||||||
int2 attlen;
|
int2 attlen;
|
||||||
Datum newVal;
|
Datum newVal = NULL;
|
||||||
AggFuncInfo *aggfns = &aggFuncInfo[i];
|
AggFuncInfo *aggfns = &aggFuncInfo[i];
|
||||||
Datum args[2];
|
Datum args[2];
|
||||||
Node *tagnode;
|
Node *tagnode = NULL;
|
||||||
|
|
||||||
switch(nodeTag(aggregates[i]->target))
|
switch(nodeTag(aggregates[i]->target))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user