diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-06-27 16:15:30 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-06-27 16:15:30 +0000 |
commit | 3e575defe1939ae362f052849af77ef353289638 (patch) | |
tree | 4085507410fd9cdbc670acc4969542f1f47d2fb4 /epan/dissectors/packet-cigi.c | |
parent | fa010b26528445f8aac4c58dc77f0e125d63d024 (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.c | 6 |
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 */ |