summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-21 18:20:01 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-21 18:20:01 +0000
commit8b62ba243b8c25a3ce180fa3d4df112245f1a89b (patch)
treee8a61f285861107bb7243bf3fe179b73e107e869
parent7ca137e2948dbdb74f04904d33c761ea77aea627 (diff)
downloadwireshark-8b62ba243b8c25a3ce180fa3d4df112245f1a89b.tar.gz
Remove unused 'pstats' member in capture_file
svn path=/trunk/; revision=30048
-rw-r--r--cfile.c2
-rw-r--r--cfile.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/cfile.c b/cfile.c
index b198fde9d8..e8a6be618a 100644
--- a/cfile.c
+++ b/cfile.c
@@ -54,6 +54,6 @@ init_cap_file(capture_file *cf)
cf->has_snap = FALSE;
cf->snap = WTAP_MAX_PACKET_SIZE;
cf->count = 0;
- cf->pstats = NULL;
cf->redissecting = FALSE;
}
+
diff --git a/cfile.h b/cfile.h
index b3a2147347..ced0aa81d8 100644
--- a/cfile.h
+++ b/cfile.h
@@ -92,9 +92,8 @@ typedef struct _capture_file {
gint current_row; /* Row number for current frame */
epan_dissect_t *edt; /* Protocol dissection for currently selected packet */
field_info *finfo_selected; /* Field info for currently selected field */
- struct ph_stats_s* pstats; /* accumulated stats (reset on redisplay in GUI)*/
} capture_file;
-void init_cap_file(capture_file *);
+void init_cap_file(capture_file *cf);
#endif /* cfile.h */