Removed an unused assignment.
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 10 Nov 2009 09:09:25 +0000 (09:09 +0000)
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 10 Nov 2009 09:09:25 +0000 (09:09 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30915 f5534014-38df-0310-8fa8-9805f1628bb7

rawshark.c

index 247cafbc3cedb9626d57ffdc48da05eef1d71707..cefd204bad4024149bc6a8dab5b80d2c4b395bfd 100644 (file)
@@ -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;