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.ipfire.org/?a=commitdiff_plain;h=1eae8e12288fb9afbb15d3ee5eed187e6f6d400b;p=thirdparty%2Fpostgresql.git Fix compiler warning about unitialized variables. --- diff --git a/src/backend/executor/nodeAgg.c b/src/backend/executor/nodeAgg.c index bcc6bdebaf7..f069ee448d8 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)) {