Remove unused 'pstats' member in capture_file
authorkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 21 Sep 2009 18:20:01 +0000 (18:20 +0000)
committerkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 21 Sep 2009 18:20:01 +0000 (18:20 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30048 f5534014-38df-0310-8fa8-9805f1628bb7

cfile.c
cfile.h

diff --git a/cfile.c b/cfile.c
index b198fde9d858de8361bca4453006f9cf51eb6324..e8a6be618a293bb1f2498288ed18d9cb36182748 100644 (file)
--- 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 b3a21473478b341ee384f6630180487caa222af3..ced0aa81d815989763881978f497a2e5a4d153ad 100644 (file)
--- 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 */