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