diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-15 20:39:35 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-15 20:39:35 +0000 |
commit | 8fc194c8817d1cb429e9cd940c98dfa4c107da1f (patch) | |
tree | 616251f8421b627e3bf0e5ebd8e1039e4407394f /epan/dissectors/packet-gsm_a_common.c | |
parent | 782cc6e3c31c2f3d1c4ec9771e7c323995d5c6fa (diff) |
Fix a 'set but not used' compiler warning.
svn path=/trunk/; revision=39430
Diffstat (limited to 'epan/dissectors/packet-gsm_a_common.c')
-rw-r--r-- | epan/dissectors/packet-gsm_a_common.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-gsm_a_common.c b/epan/dissectors/packet-gsm_a_common.c index 149a8344b4..ded00b03f4 100644 --- a/epan/dissectors/packet-gsm_a_common.c +++ b/epan/dissectors/packet-gsm_a_common.c @@ -732,7 +732,7 @@ dissect_geographical_description(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tr /*proto_tree *subtree; */ guint8 type_of_shape; - guint8 no_of_points; + /*guint8 no_of_points;*/ int offset = 0; int length; guint8 value; @@ -878,15 +878,15 @@ dissect_geographical_description(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tr break; case POLYGON: /* Polygon */ /* Number of points */ - no_of_points = tvb_get_guint8(tvb,offset)&0x0f; proto_tree_add_item(tree, hf_gsm_a_geo_loc_no_of_points, tvb, offset, 1, ENC_BIG_ENDIAN); - /* +#if 0 + no_of_points = tvb_get_guint8(tvb,offset)&0x0f; while ( no_of_points > 0){ offset++; no_of_points--; } - */ +#endif break; default: break; |