forked from osmocom/wireshark
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=51682
This commit is contained in:
parent
68ceffe2ae
commit
53c2e68794
|
@ -506,7 +506,7 @@ write_current_packet (void)
|
|||
/* Write DATA chunk header */
|
||||
if (hdr_data_chunk) {
|
||||
memcpy(&packet_buf[prefix_index], &HDR_DATA_CHUNK, sizeof(HDR_DATA_CHUNK));
|
||||
prefix_index += (int)sizeof(HDR_DATA_CHUNK);
|
||||
/*prefix_index += (int)sizeof(HDR_DATA_CHUNK);*/
|
||||
}
|
||||
|
||||
/* Write Ethernet trailer */
|
||||
|
|
Loading…
Reference in New Issue