aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ses.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-01-19 23:51:27 +0000
committerBill Meier <wmeier@newsguy.com>2010-01-19 23:51:27 +0000
commit37547c1791d7e975a295a921bfa06b8a663f33c5 (patch)
treec80e492308a8253f1028a08c173491c431be809b /epan/dissectors/packet-ses.c
parentfadae76f0c41a69eecfb97236c604fcdc18afeca (diff)
Fix a few gcc _Wshadow warnings ....
svn path=/trunk/; revision=31580
Diffstat (limited to 'epan/dissectors/packet-ses.c')
-rw-r--r--epan/dissectors/packet-ses.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/epan/dissectors/packet-ses.c b/epan/dissectors/packet-ses.c
index a72062a6f6..a0a6fab3e2 100644
--- a/epan/dissectors/packet-ses.c
+++ b/epan/dissectors/packet-ses.c
@@ -432,10 +432,10 @@ dissect_parameter(tvbuff_t *tvb, int offset, proto_tree *tree,
}
if (tree)
{
- guint8 flags;
+ guint8 flags8;
- flags = tvb_get_guint8(tvb, offset);
- if(flags & transport_connection_is_released )
+ flags8 = tvb_get_guint8(tvb, offset);
+ if(flags8 & transport_connection_is_released )
{
proto_tree_add_text(param_tree, tvb, offset, 1,
"transport connection is released");
@@ -446,7 +446,7 @@ dissect_parameter(tvbuff_t *tvb, int offset, proto_tree *tree,
"transport connection is kept");
}
- if(flags & user_abort )
+ if(flags8 & user_abort )
{
proto_tree_add_text(param_tree, tvb, offset, 1,
"user abort");
@@ -457,19 +457,19 @@ dissect_parameter(tvbuff_t *tvb, int offset, proto_tree *tree,
session->abort_type = SESSION_PROVIDER_ABORT;
}
- if(flags & protocol_error )
+ if(flags8 & protocol_error )
{
proto_tree_add_text(param_tree, tvb, offset, 1,
"protocol error");
}
- if(flags & no_reason )
+ if(flags8 & no_reason )
{
proto_tree_add_text(param_tree, tvb, offset, 1,
"no reason");
}
- if(flags & implementation_restriction )
+ if(flags8 & implementation_restriction )
{
proto_tree_add_text(param_tree, tvb, offset, 1,
"implementation restriction");