diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-06-07 22:28:55 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-06-07 22:28:55 +0000 |
commit | 4f420ef6cd41699f9945697d9d2fb6f521deaf39 (patch) | |
tree | 7025e83441575ec790c8c95b712a6c3abfaa37f8 /epan/proto.c | |
parent | 6399940fd89970d4cd2a985e7ede5c60c7a18158 (diff) |
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings
svn path=/trunk/; revision=37600
Diffstat (limited to 'epan/proto.c')
-rw-r--r-- | epan/proto.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/proto.c b/epan/proto.c index 9884d9d400..5301665853 100644 --- a/epan/proto.c +++ b/epan/proto.c @@ -6324,7 +6324,7 @@ proto_registrar_dump_protocols(void) void proto_registrar_dump_values(void) { - header_field_info *hfinfo, *parent_hfinfo; + header_field_info *hfinfo; int i, len, vi; const value_string *vals; const range_string *range; @@ -6359,8 +6359,6 @@ proto_registrar_dump_values(void) if (hfinfo->same_name_prev != NULL) continue; - PROTO_REGISTRAR_GET_NTH(hfinfo->parent, parent_hfinfo); - vals = NULL; range = NULL; tfs = NULL; |