Eliminate 'checking if unsigned variable is <0' cppcheck style warning
authorIvan Maidanski <ivmai@mail.ru>
Mon, 29 Aug 2016 12:58:00 +0000 (15:58 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 29 Aug 2016 13:34:45 +0000 (16:34 +0300)
commitc54aba1c5feb77ad9b111a990481e8a5be29954c
tree7430ac905b703b8ff375e84a8f8afb697041cf1e
parentf0fd1b1595781e9305733fd29d1c147b3dceaccc
Eliminate 'checking if unsigned variable is <0' cppcheck style warning

* cord/cordbscs.c (CORD_from_fn, CORD_substr): Do not expect size_t
value to be negative (replace <=0 comparison with ==0 one).
* cord/cordxtra.c (CORD_cmp): Likewise.
* cord/cordbscs.c (CORD_substr): Remove obsolete comment (about SunOS 4
which had signed size_t type).
cord/cordbscs.c
cord/cordxtra.c