Fix Dead Store (Dead nested assignment) Warning found by Clang

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36755 f5534014-38df-0310-8fa8-9805f1628bb7
This commit is contained in:
alagoutte 2011-04-21 13:32:34 +00:00
parent fac2537dc7
commit 1e8e8488be
1 changed files with 1 additions and 1 deletions

View File

@ -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,