Nmap Development mailing list archives

Re: [nmap-svn] r24626 - in nmap: . nselib


From: Gorjan Petrovski <mogi57 () gmail com>
Date: Tue, 12 Jul 2011 00:16:41 +0200

Thanks for noticing that. I've removed the unnecessary variable.

On Mon, Jul 11, 2011 at 1:40 PM, Luis MartinGarcia.
<luis.mgarc () gmail com> wrote:
On 07/05/2011 02:01 AM, commit-mailer () insecure org wrote:
Author: gorjan
Date: Mon Jul  4 17:01:35 2011
New Revision: 24626

Log:
Adding the NSE nmap.list_interfaces() function that lists all interfaces available to Nmap.

Modified:
   nmap/nse_nmaplib.cc
   nmap/nselib/nmap.luadoc

Hi Gorjan,

I've just tried to compile current SVN version of nmap (in a Fedora 14
i686 box) and I get the following warning:

nse_nmaplib.cc: In function ‘int l_list_interfaces(lua_State*)’:
nse_nmaplib.cc:774:19: warning: unused variable ‘numroutes’

Are you planning to use that "numroutes" variable in the future?
Otherwise, I think it would be great to remove it from the source code.

Regards,

Luis MartinGarcia.
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/




-- 
Gorjan
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: