]> The Tcpdump Group git mirrors - tcpdump/commit
Fix two invalid tests
authorFrancois-Xavier Le Bail <[email protected]>
Tue, 8 Mar 2022 09:28:35 +0000 (10:28 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Tue, 8 Mar 2022 09:30:35 +0000 (10:30 +0100)
commit7c4064c6d17068bb0eb63647d4762ad7fb56e203
treed417feb0270c90c9ebc961d7a58b6f4a12199261
parent68f6ee780dd1d63f66ec576b52c5e177e89d1f55
Fix two invalid tests

Fix these cppcheck warnings:
addrtoname.c:1288:11: warning: Checking if unsigned expression 'num'
is less than zero. [unsignedLessThanZero]
 if (num  <= 0) {
          ^
addrtoname.c:1308:11: warning: Checking if unsigned expression 'num'
is less than zero. [unsignedLessThanZero]
 if (num  <= 0) {
          ^
addrtoname.c