Fix compiler warning about unitialized variables.
authorBruce Momjian <[email protected]>
Sun, 1 Dec 1996 19:48:39 +0000 (19:48 +0000)
committerBruce Momjian <[email protected]>
Sun, 1 Dec 1996 19:48:39 +0000 (19:48 +0000)
src/backend/executor/nodeAgg.c

index bcc6bdebaf779cbf8b6316ad211da710f0aaa641..f069ee448d845ed33b7fac384fc6aeb915663311 100644 (file)
@@ -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))
        {