From 53c2e68794a01edccf66d4326a891e770ede690b Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Mon, 2 Sep 2013 23:15:50 +0000 Subject: [PATCH] Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang svn path=/trunk/; revision=51682 --- ui/text_import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/text_import.c b/ui/text_import.c index fa4419be3b..966363bcb6 100644 --- a/ui/text_import.c +++ b/ui/text_import.c @@ -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 */