mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 22:21:29 +00:00
Remove some unnecessary unsigned qualifiers (newstate is defined as int in most places)
This commit is contained in:
@@ -2031,7 +2031,7 @@ static const char *readhoststate(int state) {
|
||||
Returns true if the state was changed. */
|
||||
static bool ultrascan_host_pspec_update(UltraScanInfo *USI, HostScanStats *hss,
|
||||
const probespec *pspec, int newstate) {
|
||||
unsigned int oldstate = hss->target->flags;
|
||||
int oldstate = hss->target->flags;
|
||||
/* If the host is already up, ignore any further updates. */
|
||||
if (hss->target->flags != HOST_UP) {
|
||||
assert(newstate == HOST_UP || newstate == HOST_DOWN);
|
||||
|
||||
Reference in New Issue
Block a user