From 646c7e13ea71c52438b2a1b7dd54f5c7f4fae8f2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 18 Jan 2007 20:37:12 +0000 Subject: [PATCH] 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 --- src/common/textfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;