aboutsummaryrefslogtreecommitdiffstats
path: root/rawshark.c
diff options
context:
space:
mode:
Diffstat (limited to 'rawshark.c')
-rw-r--r--rawshark.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/rawshark.c b/rawshark.c
index 50589f8b0e..a1eb7fa027 100644
--- a/rawshark.c
+++ b/rawshark.c
@@ -873,35 +873,6 @@ main(int argc, char *argv[])
}
}
- /* Set timestamp precision; there should arguably be a command-line
- option to let the user set this. */
-#if 0
- switch(wtap_file_tsprecision(cfile.wth)) {
- case(WTAP_FILE_TSPREC_SEC):
- timestamp_set_precision(TS_PREC_AUTO_SEC);
- break;
- case(WTAP_FILE_TSPREC_DSEC):
- timestamp_set_precision(TS_PREC_AUTO_DSEC);
- break;
- case(WTAP_FILE_TSPREC_CSEC):
- timestamp_set_precision(TS_PREC_AUTO_CSEC);
- break;
- case(WTAP_FILE_TSPREC_MSEC):
- timestamp_set_precision(TS_PREC_AUTO_MSEC);
- break;
- case(WTAP_FILE_TSPREC_USEC):
- timestamp_set_precision(TS_PREC_AUTO_USEC);
- break;
- case(WTAP_FILE_TSPREC_NSEC):
- timestamp_set_precision(TS_PREC_AUTO_NSEC);
- break;
- default:
- g_assert_not_reached();
- }
-#else
- timestamp_set_precision(TS_PREC_AUTO_USEC);
-#endif
-
/* Process the packets in the file */
if (!load_cap_file(&cfile)) {
epan_free(cfile.epan);