nettrace 3GPP: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang

Change-Id: Ie94165a45d9af23eee6e4d6406ad6fba4de785c0
Reviewed-on: https://code.wireshark.org/review/8281
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Alexis La Goutte 2015-05-03 21:12:52 +02:00 committed by Anders Broman
parent 58ec8df614
commit 70be586a82
1 changed files with 0 additions and 1 deletions

View File

@ -202,7 +202,6 @@ write_packet_data(wtap_dumper *wdh, struct wtap_pkthdr *phdr, int *err, gchar **
packet_buf[1] = 12; /* EXP_PDU_TAG_PROTO_NAME */
packet_buf[2] = 0;
packet_buf[3] = tag_str_len;
i = 4;
for (i = 4, j = 0; j < tag_str_len; i++, j++){
packet_buf[i] = proto_name_str[j];
}