From: Alex Rousskov Date: Fri, 16 Sep 2011 04:36:49 +0000 (-0600) Subject: Removed assert with a "pointless comparison" to make ICC compiler happier. X-Git-Tag: BumpSslServerFirst.take01~149 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a875bae7725a3892f5871d611aab072527db130;p=thirdparty%2Fsquid.git Removed assert with a "pointless comparison" to make ICC compiler happier. --- diff --git a/src/DiskIO/IpcIo/IpcIoFile.cc b/src/DiskIO/IpcIo/IpcIoFile.cc index 34ebdb90f3..9c59c11b02 100644 --- a/src/DiskIO/IpcIo/IpcIoFile.cc +++ b/src/DiskIO/IpcIo/IpcIoFile.cc @@ -192,7 +192,6 @@ IpcIoFile::read(ReadRequest *readRequest) readRequest->offset << ")"); assert(ioRequestor != NULL); - assert(readRequest->len >= 0); assert(readRequest->offset >= 0); Must(!error_); @@ -239,7 +238,6 @@ IpcIoFile::write(WriteRequest *writeRequest) writeRequest->offset << ")"); assert(ioRequestor != NULL); - assert(writeRequest->len >= 0); assert(writeRequest->len > 0); // TODO: work around mmap failures on zero-len? assert(writeRequest->offset >= 0); Must(!error_);