1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-24 08:29:04 +00:00

Remove dead asserts.

I believe the purpose of these asserts was to quiet a compiler warning
in r24309, but the rest of that revision (marking fatal as a
non-returning function) should do the job.
This commit is contained in:
david
2012-10-06 21:26:26 +00:00
parent 1f31f2e991
commit 8ab0096609
2 changed files with 0 additions and 6 deletions

View File

@@ -535,9 +535,6 @@ int send_ip_packet(int sd, const struct eth_nfo *eth,
}
fatal("%s only understands IP versions 4 and 6 (got %u)", __func__, ip->ip_v);
/* This should not be reached. Just in case. */
assert(0);
}