aboutsummaryrefslogtreecommitdiffstats
path: root/reordercap.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2015-11-16 16:02:43 -0500
committerEvan Huus <eapache@gmail.com>2015-11-17 04:18:37 +0000
commitc3025544b63c456ba1da066e22c80b9018a64fbb (patch)
tree1964c282903f6bb4c625a955b88fbd7f0f1e63c2 /reordercap.c
parent9a7973770e19dca8ee455d60efb0b46c3bafef98 (diff)
Misc minor issues caught by cppcheck
All trivial (unused variables, duplicate `break`s, etc). Change-Id: Idbfffae4f6c0b0119a90ae5849de2ed7a1180c9b Reviewed-on: https://code.wireshark.org/review/11886 Petri-Dish: Evan Huus <eapache@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'reordercap.c')
-rw-r--r--reordercap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/reordercap.c b/reordercap.c
index e680dba2bb..61c3d9c0c0 100644
--- a/reordercap.c
+++ b/reordercap.c
@@ -268,7 +268,7 @@ DIAG_ON(cast-qual)
}
exit(1);
}
- DEBUG_PRINT("file_type_subtype is %u\n", wtap_file_type_subtype(wth));
+ DEBUG_PRINT("file_type_subtype is %d\n", wtap_file_type_subtype(wth));
shb_hdr = wtap_file_get_shb_for_new_file(wth);
idb_inf = wtap_file_get_idb_info(wth);