Update to build on Xcode 6.0: clang detecting unsigned int (size_t) comparison with <0 [-Wtautological-compare]

master
callum_linden 2014-10-17 16:08:25 -07:00
parent bc49197ea8
commit 6a15d2d95d
1 changed files with 0 additions and 2 deletions

View File

@ -257,8 +257,6 @@ std::streampos BufferArrayStreamBuf::seekoff(std::streamoff off,
return ret;
}
if (pos < 0)
return ret;
if (pos > mBufferArray->size())
{
pos = mBufferArray->size();