aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cisco-wids.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-18 15:29:25 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-18 15:29:25 +0000
commitf30bce9530cc4c851b8be4625276d26e4fd752a8 (patch)
treecbd6c44518c211ecb2d1c12783f503aa91c1c158 /epan/dissectors/packet-cisco-wids.c
parent79a3113f0d1515e77c2f08aec063193db50aebe3 (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-cisco-wids.c')
-rw-r--r--epan/dissectors/packet-cisco-wids.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-cisco-wids.c b/epan/dissectors/packet-cisco-wids.c
index a1d07150dd..c04222fe1c 100644
--- a/epan/dissectors/packet-cisco-wids.c
+++ b/epan/dissectors/packet-cisco-wids.c
@@ -77,7 +77,6 @@ dissect_cwids(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree *ti, *cwids_tree;
volatile int offset = 0;
guint16 capturelen;
- guint remain;
void *pd_save;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "CWIDS");
@@ -86,7 +85,7 @@ dissect_cwids(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
cwids_tree = NULL;
- while((remain = tvb_length_remaining(tvb, offset)) > 0) {
+ while(tvb_length_remaining(tvb, offset) > 0) {
ti = proto_tree_add_item(tree, proto_cwids, tvb, offset, 28, FALSE);
cwids_tree = proto_item_add_subtree(ti, ett_cwids);