1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 10:29:03 +00:00

Fix "value computed is not used" warning.

This commit is contained in:
david
2011-05-30 17:34:11 +00:00
parent c38f890cf4
commit 17d49b21fa

View File

@@ -268,7 +268,7 @@ int TargetGroup::parse_expr(const char * const target_expr, int af) {
}
else if (*r != '*' && *r != ',' && *r != '-' && !isdigit((int) (unsigned char) *r))
fatal("Invalid character in host specification. Note in particular that square brackets [] are no longer allowed. They were redundant and can simply be removed.");
*r++;
r++;
}
if (i != 3) fatal("Invalid target host specification: %s", target_expr);