Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1eae8e1

Browse files
committed
Fix compiler warning about unitialized variables.
1 parent 63df35e commit 1eae8e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/executor/nodeAgg.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -256,10 +256,10 @@ ExecAgg(Agg *node)
256256
for(i = 0; i < nagg; i++) {
257257
AttrNumber attnum;
258258
int2 attlen;
259-
Datum newVal;
259+
Datum newVal = NULL;
260260
AggFuncInfo *aggfns = &aggFuncInfo[i];
261261
Datum args[2];
262-
Node *tagnode;
262+
Node *tagnode = NULL;
263263

264264
switch(nodeTag(aggregates[i]->target))
265265
{

0 commit comments

Comments
 (0)