From ae90b1b6f82802c6a860b2d6e38503f4af15ddb8 Mon Sep 17 00:00:00 2001 From: djalal Date: Sun, 11 Sep 2011 22:53:57 +0000 Subject: [PATCH] Declare the 'new_targets' inside the NOLUA conditional directives. --- nmap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmap.cc b/nmap.cc index 984b75ee7..f0dfe5bac 100644 --- a/nmap.cc +++ b/nmap.cc @@ -1501,9 +1501,9 @@ int nmap_main(int argc, char *argv[]) { time_t timep; char mytime[128]; addrset exclude_group; + #ifndef NOLUA /* Only NSE scripts can add targets */ NewTargets *new_targets = NULL; - #ifndef NOLUA /* Pre-Scan and Post-Scan script results datastructure */ ScriptResults *script_scan_results = NULL; #endif