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

svn path=/trunk/; revision=36755
This commit is contained in:
Alexis La Goutte 2011-04-21 13:32:34 +00:00
parent ab38454697
commit 5388b8a42a
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,