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:
@@ -51,6 +51,7 @@ static void ndpi_dbg_fn(u_int32_t protocol,
|
||||
/* While this program always logs at NDPI_LOG_DEBUG_EXTRA level, the
|
||||
initialization of the library may log at any level */
|
||||
|
||||
(void)log_level;
|
||||
(void)file;
|
||||
(void)func;
|
||||
(void)line;
|
||||
|
||||
@@ -366,6 +366,9 @@ int main(int argc, char **argv) {
|
||||
#ifndef WIN32
|
||||
int c;
|
||||
#endif
|
||||
(void)argc;
|
||||
(void)argv;
|
||||
|
||||
NDPI_PROTOCOL_BITMASK all;
|
||||
|
||||
if (ndpi_get_api_version() != NDPI_API_VERSION) {
|
||||
|
||||
Reference in New Issue
Block a user