Skip to content
Snippets Groups Projects
Commit 1eae8e12 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Fix compiler warning about unitialized variables.

parent 63df35e2
No related branches found
No related tags found
No related merge requests found
...@@ -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))
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment