aboutsummaryrefslogtreecommitdiffstats
path: root/rawshark.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-11-10 09:09:25 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-11-10 09:09:25 +0000
commit7197b85fd6eecf19cf4fc760af5ec52d8d34bbaf (patch)
treef8df3ff31fadbdf66d8e6497b8b45297a4660ab7 /rawshark.c
parent3946bbe2f282d51db7c7f0955585f71277199645 (diff)
Removed an unused assignment.
svn path=/trunk/; revision=30915
Diffstat (limited to 'rawshark.c')
-rw-r--r--rawshark.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/rawshark.c b/rawshark.c
index 247cafbc3c..cefd204bad 100644
--- a/rawshark.c
+++ b/rawshark.c
@@ -903,7 +903,6 @@ raw_pipe_read(struct wtap_pkthdr *phdr, guchar * pd, int *err, gchar **err_info,
ptr += bytes_read;
}
- bytes_read = 0;
phdr->ts.secs = hdr.ts_sec;
phdr->ts.nsecs = hdr.ts_usec * 1000;
phdr->caplen = bytes_needed = hdr.incl_len;