diff options
author | Stuart Reilly <rs576h@vyatta.att-mail.com> | 2019-07-12 15:59:11 +0100 |
---|---|---|
committer | Stuart Reilly <rs576h@vyatta.att-mail.com> | 2019-07-12 16:01:22 +0100 |
commit | 8b1c68aed3228ff4e6b0c4e592c45c1426c51ace (patch) | |
tree | 1331e587f4efe94a76795a60c9ea9b99f0eba3f7 /src/lib/ndpi_main.c | |
parent | 563215a05ee1d5a5ad5d72b749f8607f58e14c67 (diff) |
Add compiler warnings and fix them
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index bb9b6de5a..325123476 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -491,7 +491,6 @@ void ndpi_init_protocol_match(struct ndpi_detection_module_struct *ndpi_mod, ndpi_protocol_match *match) { u_int16_t no_master[2] = { NDPI_PROTOCOL_NO_MASTER_PROTO, NDPI_PROTOCOL_NO_MASTER_PROTO }; ndpi_port_range ports_a[MAX_DEFAULT_PORTS], ports_b[MAX_DEFAULT_PORTS]; - static u_int16_t generic_id = NDPI_LAST_IMPLEMENTED_PROTOCOL; if(ndpi_mod->proto_defaults[match->protocol_id].protoName == NULL) { if(match->protocol_id == NDPI_PROTOCOL_GENERIC) |