From: Bruce Momjian Date: Sun, 1 Dec 1996 19:48:39 +0000 (+0000) Subject: Fix compiler warning about unitialized variables. X-Git-Tag: REL2_0~21 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=1eae8e12288fb9afbb15d3ee5eed187e6f6d400b;p=users%2Fc2main%2Fpostgres.git Fix compiler warning about unitialized variables. --- diff --git a/src/backend/executor/nodeAgg.c b/src/backend/executor/nodeAgg.c index bcc6bdebaf..f069ee448d 100644 --- a/src/backend/executor/nodeAgg.c +++ b/src/backend/executor/nodeAgg.c @@ -256,10 +256,10 @@ ExecAgg(Agg *node) for(i = 0; i < nagg; i++) { AttrNumber attnum; int2 attlen; - Datum newVal; + Datum newVal = NULL; AggFuncInfo *aggfns = &aggFuncInfo[i]; Datum args[2]; - Node *tagnode; + Node *tagnode = NULL; switch(nodeTag(aggregates[i]->target)) {