Fix compiler warning about unitialized variables.

This commit is contained in:
Bruce Momjian 1996-12-01 19:48:39 +00:00
parent 63df35e249
commit 1eae8e1228
1 changed files with 2 additions and 2 deletions

View File

@ -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))
{ {