corrected VC warning about possibly uninitialized variable in the last change

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-01-18 20:37:12 +00:00
parent 6594faa98e
commit 646c7e13ea

View File

@ -98,7 +98,7 @@ bool wxTextFile::OnRead(const wxMBConv& conv)
// read and so the conversion would fail) and, as the file contents is kept
// in memory by wxTextFile anyhow, it shouldn't be a big problem to read
// the file entirely
size_t bufSize,
size_t bufSize = 0,
bufPos = 0;
char block[1024];
wxCharBuffer buf;