diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-10-30 16:44:02 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-10-30 16:44:02 +0000 |
commit | 80e694414a4a8d92c4818359bfc7c7ad1e00c046 (patch) | |
tree | baf8b144b5709576fb6f74dfd34f9175676d9a52 | |
parent | 1d78e366cdfc81c869f9ed0a716099d15744725f (diff) |
Fix unused variable warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39679 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r-- | epan/dissectors/packet-bacapp.c | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/epan/dissectors/packet-bacapp.c b/epan/dissectors/packet-bacapp.c index ddf16cf921..dee1cd6894 100644 --- a/epan/dissectors/packet-bacapp.c +++ b/epan/dissectors/packet-bacapp.c @@ -5332,9 +5332,8 @@ fCalendarEntry (tvbuff_t *tvb, proto_tree *tree, guint offset) } static guint -fEventTimeStamps( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset) +fEventTimeStamps( tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { - guint8 tag_no = 0, tag_info = 0; guint32 lvt = 0; proto_tree* subtree = tree; proto_item* ti = 0; @@ -6152,11 +6151,11 @@ moduloDivide [1] Unsigned } */ static guint -fPrescale (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset) +fPrescale (tvbuff_t *tvb, packet_info *pinfoĻ_U_, proto_tree *tree, guint offset) { guint8 tag_no, tag_info; guint32 lvt, len; - guint lastoffset = 0, depth = 0; + guint lastoffset = 0; while (tvb_reported_length_remaining(tvb, offset)) { /* exit loop if nothing happens inside */ lastoffset = offset; @@ -6186,11 +6185,11 @@ integerScale [1] INTEGER } */ static guint -fScale (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset) +fScale (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 tag_no, tag_info; guint32 lvt, len; - guint lastoffset = 0, depth = 0; + guint lastoffset = 0; while (tvb_reported_length_remaining(tvb, offset)) { /* exit loop if nothing happens inside */ lastoffset = offset; @@ -6227,11 +6226,11 @@ BACnetAccumulatorRecord ::= SEQUENCE { } */ static guint -fLoggingRecord (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset) +fLoggingRecord (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 tag_no, tag_info; guint32 lvt, len; - guint lastoffset = 0, depth = 0; + guint lastoffset = 0; while (tvb_reported_length_remaining(tvb, offset)) { /* exit loop if nothing happens inside */ lastoffset = offset; @@ -6269,7 +6268,7 @@ fSequenceOfEnums (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint off { guint8 tag_no, tag_info; guint32 lvt, len; - guint lastoffset = 0, depth = 0; + guint lastoffset = 0; while (tvb_reported_length_remaining(tvb, offset)) { /* exit loop if nothing happens inside */ lastoffset = offset; @@ -6292,7 +6291,7 @@ fDoorMembers (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset) { guint8 tag_no, tag_info; guint32 lvt, len; - guint lastoffset = 0, depth = 0; + guint lastoffset = 0; while (tvb_reported_length_remaining(tvb, offset)) { /* exit loop if nothing happens inside */ lastoffset = offset; @@ -6314,7 +6313,7 @@ fListOfGroupMembers (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint { guint8 tag_no, tag_info; guint32 lvt, len; - guint lastoffset = 0, depth = 0; + guint lastoffset = 0; while (tvb_reported_length_remaining(tvb, offset)) { /* exit loop if nothing happens inside */ lastoffset = offset; @@ -7116,7 +7115,7 @@ BACnetPropertyStatesEnums[] = { #define BACnetPropertyStatesEnums_Size 36 static guint -fBACnetPropertyStates(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset) +fBACnetPropertyStates(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint offset) { guint8 tag_no, tag_info; guint32 lvt; @@ -8094,7 +8093,6 @@ fConfirmedEventNotificationRequest (tvbuff_t *tvb, packet_info *pinfo, proto_tre guint lastoffset = 0; guint8 tag_no, tag_info; guint32 lvt; - proto_tree *subtree = tree; while (tvb_reported_length_remaining(tvb, offset)) { /* exit loop if nothing happens inside */ lastoffset = offset; |