From: Alex Rousskov Date: Thu, 15 Sep 2011 14:54:06 +0000 (-0600) Subject: Removed "pointless comparison of unsigned integer with 0" to make ICC happier. X-Git-Tag: BumpSslServerFirst.take01~151 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0f2cd2672f4f5b831b7102765348866516e4ae57;p=thirdparty%2Fsquid.git Removed "pointless comparison of unsigned integer with 0" to make ICC happier. Besides making ICC compiler happier, we should not check parameter values that are just passed to other Squid code. Let the recepient code check them. --- diff --git a/src/ipc/StoreMap.cc b/src/ipc/StoreMap.cc index 5499decd7d..530edcf728 100644 --- a/src/ipc/StoreMap.cc +++ b/src/ipc/StoreMap.cc @@ -13,7 +13,6 @@ Ipc::StoreMap::Owner * Ipc::StoreMap::Init(const char *const path, const int limit, const size_t extrasSize) { assert(limit > 0); // we should not be created otherwise - assert(extrasSize >= 0); Owner *const owner = shm_new(Shared)(path, limit, extrasSize); debugs(54, 5, HERE << "new map [" << path << "] created: " << limit); return owner;