aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cigi.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2008-06-27 16:15:30 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2008-06-27 16:15:30 +0000
commit3e575defe1939ae362f052849af77ef353289638 (patch)
tree4085507410fd9cdbc670acc4969542f1f47d2fb4 /epan/dissectors/packet-cigi.c
parentfa010b26528445f8aac4c58dc77f0e125d63d024 (diff)
Fix some warnings reported by gcc -Wshadow ...
Fix some spacing in packet-dcom.c git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25618 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-cigi.c')
-rw-r--r--epan/dissectors/packet-cigi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-cigi.c b/epan/dissectors/packet-cigi.c
index 18702a9a68..96c9698da5 100644
--- a/epan/dissectors/packet-cigi.c
+++ b/epan/dissectors/packet-cigi.c
@@ -2096,7 +2096,7 @@ packet_is_cigi(tvbuff_t *tvb)
{
guint8 packet_id;
guint8 packet_size;
- guint8 cigi_version;
+ guint8 cigi_version_local;
guint8 ig_mode;
/* CIGI 3 */
@@ -2108,14 +2108,14 @@ packet_is_cigi(tvbuff_t *tvb)
}
packet_id = tvb_get_guint8(tvb, 0);
packet_size = tvb_get_guint8(tvb, 1);
- cigi_version = tvb_get_guint8(tvb, 2);
+ cigi_version_local = tvb_get_guint8(tvb, 2);
if ( packet_size > tvb_reported_length(tvb) ) {
return FALSE;
}
/* Currently there are only 3 versions of CIGI */
- switch ( cigi_version ) {
+ switch ( cigi_version_local ) {
case CIGI_VERSION_1:
/* CIGI 1 requires that the first packet is always the IG Control or SOF */