From: Vadim Zeitlin Date: Tue, 5 Feb 2002 00:01:17 +0000 (+0000) Subject: fixed VC++ compilation warnings in optimized build X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2c892c0b0cf6ef67614413c0d927eeefefe63ece fixed VC++ compilation warnings in optimized build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/html/winpars.cpp b/src/html/winpars.cpp index 151573bd3f..796489d850 100644 --- a/src/html/winpars.cpp +++ b/src/html/winpars.cpp @@ -201,11 +201,11 @@ wxFSFile *wxHtmlWinParser::OpenURL(wxHtmlURLType type, if ( status == wxHTML_BLOCK ) return NULL; - else - return GetFS()->OpenFile(myurl); + + return GetFS()->OpenFile(myurl); } - else - return wxHtmlParser::OpenURL(type, url); + + return wxHtmlParser::OpenURL(type, url); } void wxHtmlWinParser::AddText(const wxChar* txt)