Fix compiler warning.

This commit is contained in:
Robert Haas 2011-11-09 11:14:50 -05:00
parent d326d9e8ea
commit 452d1d193d

View File

@ -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);