summaryrefslogtreecommitdiff
path: root/epan
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2011-04-21 13:32:34 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2011-04-21 13:32:34 +0000
commit5388b8a42ab6cef83fd389ddead810c2b507a8db (patch)
tree9c6d082de00419fd8e0b1ca2e736ee4295161220 /epan
parentab3845469743045076aa22b388959457df18d334 (diff)
downloadwireshark-5388b8a42ab6cef83fd389ddead810c2b507a8db.tar.gz
Fix Dead Store (Dead nested assignment) Warning found by Clang
svn path=/trunk/; revision=36755
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-l2tp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-l2tp.c b/epan/dissectors/packet-l2tp.c
index 45364bc508..d72c02ff68 100644
--- a/epan/dissectors/packet-l2tp.c
+++ b/epan/dissectors/packet-l2tp.c
@@ -1802,7 +1802,7 @@ dissect_l2tp_udp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
if (avp_type == CONTROL_MESSAGE) {
/* We print message type */
- msg_type = tvb_get_ntohs(tvb, (tmp_idx+=2));
+ msg_type = tvb_get_ntohs(tvb, tmp_idx);
col_add_fstr(pinfo->cinfo, COL_INFO,
"%s - %s (tunnel id=%u, session id=%u)",
control_msg,