From 686322d1bd4712227afbb6ddfb1cdaff9d178687 Mon Sep 17 00:00:00 2001 From: luis Date: Fri, 29 Mar 2013 13:01:29 +0000 Subject: [PATCH] Merged r27162 from nmap-npingchanges: Remove some unused code --- nping/nping.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/nping/nping.cc b/nping/nping.cc index 4519bb1d3..2dca1cbf6 100644 --- a/nping/nping.cc +++ b/nping/nping.cc @@ -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() */