diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-06-20 01:13:21 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-06-20 01:13:21 +0000 |
commit | 91191c6c003ac2502626ae9bfb316e52fb6aa0a8 (patch) | |
tree | f0aa07f73632d1aa064e1a9af2fac2aa13b757e2 /epan/dissectors/packet-x224.c | |
parent | b8e727ac8d7d5f77c9244786056eb8da185e0022 (diff) |
Fix some gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings;
(Code commented out since it may be required in the future (at least in some cases).
svn path=/trunk/; revision=37723
Diffstat (limited to 'epan/dissectors/packet-x224.c')
-rw-r--r-- | epan/dissectors/packet-x224.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-x224.c b/epan/dissectors/packet-x224.c index 1676e91bbd..f93031d5f5 100644 --- a/epan/dissectors/packet-x224.c +++ b/epan/dissectors/packet-x224.c @@ -99,7 +99,7 @@ static const value_string class_option_vals[] = { static int dissect_x224_cr(packet_info *pinfo _U_, proto_tree *tree, tvbuff_t *tvb, int offset, x224_conv_info_t *x224_info _U_) { - guint8 class; + /*guint8 class;*/ gint len, next_offset; /*DST-REF is always 0 */ @@ -110,7 +110,7 @@ dissect_x224_cr(packet_info *pinfo _U_, proto_tree *tree, tvbuff_t *tvb, int off offset+=2; /* class options */ - class = tvb_get_guint8(tvb, offset); + /*class = tvb_get_guint8(tvb, offset);*/ proto_tree_add_item(tree, hf_x224_class, tvb, offset, 1, FALSE); offset+=1; |