X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6594faa98e92b6e5121866d847ae8ac0526654de..1abfa172c547a37751e598084fb8d541071471a3:/src/common/textfile.cpp diff --git a/src/common/textfile.cpp b/src/common/textfile.cpp index 2b7af13e1d..ef27836e89 100644 --- a/src/common/textfile.cpp +++ b/src/common/textfile.cpp @@ -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;