Removed unused variable 'hfinfo' in proto_tree_set_time().
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 29 Sep 2009 19:16:52 +0000 (19:16 +0000)
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 29 Sep 2009 19:16:52 +0000 (19:16 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30197 f5534014-38df-0310-8fa8-9805f1628bb7

epan/proto.c

index 67450542206b4a66ba1c7015729e9aaa0c61f89b..1d394c81e5b965cceec9029b3b1d7af999d90790 100644 (file)
@@ -1716,10 +1716,7 @@ proto_tree_add_time_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint st
 static void
 proto_tree_set_time(field_info *fi, nstime_t *value_ptr)
 {
-       header_field_info       *hfinfo;
-
        DISSECTOR_ASSERT(value_ptr != NULL);
-       hfinfo = fi->hfinfo;
 
        fvalue_set(&fi->value, value_ptr, FALSE);
 }