Disable -Wno-unused-parameter -Wno-unused-function. (#2358)
* unused parameters and functions pollute the code and decrease readability Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
@@ -67,7 +67,7 @@ static void ndpi_search_can(struct ndpi_detection_module_struct *ndpi_struct,
|
||||
ndpi_int_can_add_connection(ndpi_struct, flow);
|
||||
|
||||
if (can_header->version != 0x01) {
|
||||
ndpi_set_risk(ndpi_struct, flow, NDPI_MALFORMED_PACKET, "Invalid CAN Header");
|
||||
ndpi_set_risk(flow, NDPI_MALFORMED_PACKET, "Invalid CAN Header");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user