s3:utils: Remove condition that cannot be true (CID 1548341)
commit8b2269328bf1d85c6505cf8ecb95977435bdf93c
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 30 Oct 2023 22:30:27 +0000 (31 11:30 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 2 Nov 2023 03:08:37 +0000 (2 03:08 +0000)
tree137401f8f043f30e46201db53f2348dedf283039
parent77183ded7de9d5b23663aa5f68a94a9c9b87902c
s3:utils: Remove condition that cannot be true (CID 1548341)

‘limit’ is an unsigned integer, and thus will never be less than zero.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/utils/wspsearch.c