Kaydet (Commit) c85456b0 authored tarafından Fridrich Štrba's avatar Fridrich Štrba

Simplify this condition a bit

Change-Id: Iceef995be9ff55306550e56a0be87dddab7a78c3
üst 4a969ac3
...@@ -365,10 +365,9 @@ int WPXSvInputStream::seek(long offset, WPX_SEEK_TYPE seekType) ...@@ -365,10 +365,9 @@ int WPXSvInputStream::seek(long offset, WPX_SEEK_TYPE seekType)
mpImpl->invalidateReadBuffer(); mpImpl->invalidateReadBuffer();
int retVal2 = mpImpl->seek(tmpOffset); if (mpImpl->seek(tmpOffset))
if (retVal) return -1;
return retVal; return retVal;
return retVal2;
} }
bool WPXSvInputStream::atEOS() bool WPXSvInputStream::atEOS()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment