mirror of
https://github.com/nmap/nmap.git
synced 2025-12-20 14:39:02 +00:00
Removed occurences of `assert(0);'
Replaced them with `fatal()' so that nsock can compile w/ NDEBUG.
This commit is contained in:
@@ -286,7 +286,7 @@ int msevent_cancel(mspool *nsp, msevent *nse, gh_list *event_list, gh_list_elem
|
||||
#endif
|
||||
|
||||
default:
|
||||
assert(0);
|
||||
fatal("Invalid nsock event type (%d)", nse->type);
|
||||
}
|
||||
|
||||
assert(nse->event_done);
|
||||
|
||||
Reference in New Issue
Block a user