1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +00:00

Fix a LGTM.com finding (false positive, but easier to just change it)

This commit is contained in:
dmiller
2019-12-22 14:32:05 +00:00
parent bf9b61ad22
commit 69f1576c17

View File

@@ -191,7 +191,7 @@ struct token {
static unsigned short *parse_portlist(const char *portlist, unsigned int *count) {
uint32_t bitmap[65536 / 32];
unsigned short *result;
unsigned short i;
unsigned int i;
unsigned int p;
memset(bitmap, 0, sizeof(bitmap));