diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-04-18 15:29:25 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-04-18 15:29:25 +0000 |
commit | f30bce9530cc4c851b8be4625276d26e4fd752a8 (patch) | |
tree | cbd6c44518c211ecb2d1c12783f503aa91c1c158 /epan/dissectors/packet-ucp.c | |
parent | 79a3113f0d1515e77c2f08aec063193db50aebe3 (diff) |
Removed some unneeded assignments.
Found by clang.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36698 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ucp.c')
-rw-r--r-- | epan/dissectors/packet-ucp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ucp.c b/epan/dissectors/packet-ucp.c index 1e876fed15..ece530bad4 100644 --- a/epan/dissectors/packet-ucp.c +++ b/epan/dissectors/packet-ucp.c @@ -1631,12 +1631,12 @@ add_5xO(proto_tree *tree, tvbuff_t *tvb) UcpHandleByte(hf_ucp_parm_DCs); UcpHandleByte(hf_ucp_parm_MCLs); UcpHandleByte(hf_ucp_parm_RPI); - if ((intval = tvb_get_guint8(tvb, offset++)) != '/') { + if (tvb_get_guint8(tvb, offset++) != '/') { proto_tree_add_string(tree, hf_ucp_parm_CPg, tvb, offset - 1,1, "(reserved for Code Page)"); offset++; } - if ((intval = tvb_get_guint8(tvb, offset++)) != '/') { + if (tvb_get_guint8(tvb, offset++) != '/') { proto_tree_add_string(tree, hf_ucp_parm_RPLy, tvb, offset - 1,1, "(reserved for Reply type)"); offset++; |