aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2021-01-04 15:49:39 +0100
committerGitHub <noreply@github.com>2021-01-04 15:49:39 +0100
commit3aa16b63e834026003d57d5328adf2ec9a69a9b5 (patch)
treee0b32b908c16bcae8014a0b4a22c8d6a0f172869 /example/ndpiReader.c
parent23b84cd3ee91ece32c605f3eee77d598cea8b3d6 (diff)
Fix some warnings when compiling with "-W -Wall" flags (#1103)
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r--example/ndpiReader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index 52e4e2da8..9c882101b 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -1111,7 +1111,6 @@ static char* is_unsafe_cipher(ndpi_cipher_weakness c) {
void print_bin(FILE *fout, const char *label, struct ndpi_bin *b) {
u_int8_t i;
- FILE *out = results_file ? results_file : stdout;
const char *sep = label ? "," : ";";
ndpi_normalize_bin(b);
@@ -3384,9 +3383,9 @@ void test_lib() {
/* *********************************************** */
+#if 0
static void binUnitTest() {
struct ndpi_bin *bins, b0, b1;
- u_int8_t versbose = 0;
u_int8_t num_bins = 32;
u_int8_t num_points = 24;
u_int32_t i, j;
@@ -3441,6 +3440,7 @@ static void binUnitTest() {
// exit(0);
}
+#endif
/* *********************************************** */