Merged r27162 from nmap-npingchanges: Remove some unused code

This commit is contained in:
luis 2013-03-29 13:01:29 +00:00
parent 84c31d5237
commit 686322d1bd

View file

@ -219,11 +219,8 @@ int main(int argc, char *argv[] ){
/* Things that should be guaranteed by the compiler, standard library, OS etc,
* but that we check just in case... */
int do_safe_checks(){
IPv6Header i;
if( (sizeof(u32) != 4) || (sizeof(u16) != 2) || (sizeof(u8) != 1) )
nping_fatal(QT_3,"Types u32, u16 and u8 do not have the correct sizes on your system.");
//if (i.test_correctness() == false)
// nping_warning(QT_2,"IPv6 may not work on your system. Please report a bug.");
test_stuff(); /* Little function that is called quite early to test some misc stuff. */
return OP_SUCCESS;
} /* End of do_safe_checks() */