aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorMichele Campus <fci1908@gmail.com>2016-11-22 22:18:11 +0100
committerGitHub <noreply@github.com>2016-11-22 22:18:11 +0100
commit4da4db1e73ceca5f519e37c9e701e9d3f0919285 (patch)
tree129e52dd8a79da79b30723b767d0e7262013dc97 /example
parentf670eefd849f8805f201939215e358b47ebd0ff7 (diff)
parent4c23c3fec9ff02255d9f946256d57bb790a8fc58 (diff)
Merge pull request #303 from alagoutte/fix_warning
Fix warning
Diffstat (limited to 'example')
-rw-r--r--example/ndpiReader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index 42cae63cf..8c1ac37ce 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -766,7 +766,7 @@ static void printResults(u_int64_t tot_usec) {
char buf[32];
#ifdef HAVE_JSON_C
FILE *json_fp = NULL;
- json_object *jObj_main, *jObj_trafficStats, *jArray_detProto, *jObj;
+ json_object *jObj_main = NULL, *jObj_trafficStats, *jArray_detProto = NULL, *jObj;
#endif
long long unsigned int breed_stats[NUM_BREEDS] = { 0 };