]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed VC++ compilation warnings in optimized build
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 5 Feb 2002 00:01:17 +0000 (00:01 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 5 Feb 2002 00:01:17 +0000 (00:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/winpars.cpp

index 151573bd3f72f7cb5eb5327dc21efc3615a34f68..796489d850e3ed9df6f2ea84bdc305957c6a5dca 100644 (file)
@@ -201,11 +201,11 @@ wxFSFile *wxHtmlWinParser::OpenURL(wxHtmlURLType type,
 
         if ( status == wxHTML_BLOCK )
             return NULL;
 
         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)
 }
 
 void wxHtmlWinParser::AddText(const wxChar* txt)