From: Robert Haas Date: Wed, 9 Nov 2011 16:14:50 +0000 (-0500) Subject: Fix compiler warning. X-Git-Tag: REL9_2_BETA1~848 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=452d1d193d3b15c4ff8ef56a9b50bdb91ea0665e;p=postgresql Fix compiler warning. --- 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);