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