ndpi_main: fix unused variable 'node/ret' [-Wunused-variable]
This commit is contained in:
@@ -1927,8 +1927,6 @@ static ndpi_default_ports_tree_node_t* ndpi_get_guessed_protocol_id(struct ndpi_
|
|||||||
u_int16_t ndpi_guess_protocol_id(struct ndpi_detection_module_struct *ndpi_struct,
|
u_int16_t ndpi_guess_protocol_id(struct ndpi_detection_module_struct *ndpi_struct,
|
||||||
u_int8_t proto, u_int16_t sport, u_int16_t dport,
|
u_int8_t proto, u_int16_t sport, u_int16_t dport,
|
||||||
u_int8_t *user_defined_proto) {
|
u_int8_t *user_defined_proto) {
|
||||||
const void *ret;
|
|
||||||
ndpi_default_ports_tree_node_t node;
|
|
||||||
|
|
||||||
*user_defined_proto = 0; /* Default */
|
*user_defined_proto = 0; /* Default */
|
||||||
if(sport && dport) {
|
if(sport && dport) {
|
||||||
|
|||||||
Reference in New Issue
Block a user