From Yaniv Kaul:

Some fixes for 'set but not used' errors that GCC 4.6 emits.

svn path=/trunk/; revision=36903
This commit is contained in:
Bill Meier 2011-04-27 16:34:37 +00:00
parent 77d86cadf5
commit abf57a9af2
1 changed files with 1 additions and 6 deletions

View File

@ -3358,7 +3358,7 @@ elem_info_rec_req(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len, gc
guint8 num_recs;
guint32 curr_offset;
const gchar *str;
gint ett_elem_idx, idx;
gint idx;
curr_offset = offset;
@ -3375,11 +3375,6 @@ elem_info_rec_req(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len, gc
if (str == NULL)
{
str = "Reserved";
ett_elem_idx = ett_ansi_ms_info_rec_reserved;
}
else
{
ett_elem_idx = ett_ansi_rev_ms_info_rec[idx];
}
proto_tree_add_text(tree,