From 27c37449b58b137e475dc71fbd9f06bf8487a51d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 5 Jan 2003 19:55:03 +0000 Subject: [PATCH] compilation warning in release build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/image.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/common/image.cpp b/src/common/image.cpp index f009a4c6fb..9bbe8c282b 100644 --- a/src/common/image.cpp +++ b/src/common/image.cpp @@ -1005,13 +1005,10 @@ int wxImage::GetImageCount( const wxString &name, long type ) { #if wxUSE_STREAMS wxFileInputStream stream(name); - if (!stream.Ok()) - return 0; - else + if (stream.Ok()) return GetImageCount(stream, type); -#else - return 0; #endif + return 0; } #if wxUSE_STREAMS