FYI: new (?) warnings in 2.5S9 build

From: Steve Snyder <swsnyder@dont-contact.us>
Date: Thu, 31 Mar 2005 00:13:41 -0500

Hello.

I get the warnings below when building 2.5S9 + all patches (as of 30 Mar.). I mention this because I don't recall seeing them previously.

FYI.

-------------------------------

client_side.c(1778): warning #186: pointless comparison of unsigned integer with zero
      assert(*size >= 0 && i->debt_size >= 0);
      ^

client_side.c(1805): warning #186: pointless comparison of unsigned integer with zero
      assert(size >= 0);
      ^

client_side.c(3056): warning #186: pointless comparison of unsigned integer with zero
            assert(conn->in.offset >= 0);
            ^

MemPool.c(142): warning #186: pointless comparison of unsigned integer with zero
      assert(start_limit >= 0 && new_limit >= 0);
      ^

MemPool.c(142): warning #186: pointless comparison of unsigned integer with zero
      assert(start_limit >= 0 && new_limit >= 0);
      ^

MemPool.c(282): warning #186: pointless comparison of unsigned integer with zero
      assert(new_limit >= 0);
      ^

wccp.c(250): warning #186: pointless comparison of unsigned integer with zero
      if (ntohl(wccp_i_see_you.number) > WCCP_ACTIVE_CACHES || ntohl(wccp_i_see_you.number) < 0) {
                                                                                            ^
Received on Wed Mar 30 2005 - 22:13:51 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:04 MST