Commit 1eae8e12 authored by Bruce Momjian's avatar Bruce Momjian

Fix compiler warning about unitialized variables.

parent 63df35e2
...@@ -256,10 +256,10 @@ ExecAgg(Agg *node) ...@@ -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))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment