From 6a15d2d95ddb8dd285c635ff86f3a010c99d406c Mon Sep 17 00:00:00 2001 From: callum_linden <none@none> Date: Fri, 17 Oct 2014 16:08:25 -0700 Subject: [PATCH] Update to build on Xcode 6.0: clang detecting unsigned int (size_t) comparison with <0 [-Wtautological-compare] --- indra/llcorehttp/bufferstream.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/indra/llcorehttp/bufferstream.cpp b/indra/llcorehttp/bufferstream.cpp index 6553900eef5..678bf5ea9f5 100755 --- a/indra/llcorehttp/bufferstream.cpp +++ b/indra/llcorehttp/bufferstream.cpp @@ -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(); -- GitLab