From 452d1d193d3b15c4ff8ef56a9b50bdb91ea0665e Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Wed, 9 Nov 2011 11:14:50 -0500 Subject: [PATCH] Fix compiler warning. --- src/backend/commands/copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/commands/copy.c b/src/backend/commands/copy.c index 7637b689db..9c994ef6eb 100644 --- a/src/backend/commands/copy.c +++ b/src/backend/commands/copy.c @@ -1858,7 +1858,7 @@ CopyFrom(CopyState cstate) bool useHeapMultiInsert; int nBufferedTuples = 0; #define MAX_BUFFERED_TUPLES 1000 - HeapTuple *bufferedTuples; + HeapTuple *bufferedTuples = NULL; /* initialize to silence warning */ Size bufferedTuplesSize = 0; Assert(cstate->rel); -- 2.40.0