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
This commit is contained in:
Vadim Zeitlin
2003-01-05 19:55:03 +00:00
parent a25184b7a7
commit 27c37449b5

View File

@@ -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