diff options
author | Anders Broman <anders.broman@ericsson.com> | 2011-11-14 17:35:04 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2011-11-14 17:35:04 +0000 |
commit | 34ea8864543bdb540bbf7aa4dc436ad25ff93936 (patch) | |
tree | ae77bb640cfc28d13745445f7c59eb52a1a57551 /epan/dissectors/packet-ros.c | |
parent | fa5c7f85aa5d006ac650546c3f81eb7744dfdc59 (diff) |
[-Wunused-but-set-variable]
svn path=/trunk/; revision=39829
Diffstat (limited to 'epan/dissectors/packet-ros.c')
-rw-r--r-- | epan/dissectors/packet-ros.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/epan/dissectors/packet-ros.c b/epan/dissectors/packet-ros.c index 3966392b3c..db2fab5b7b 100644 --- a/epan/dissectors/packet-ros.c +++ b/epan/dissectors/packet-ros.c @@ -191,7 +191,6 @@ static gboolean ros_try_string(const char *oid, tvbuff_t *tvb, packet_info *pinf gint32 opcode_lcl = 0; const gchar *opname = NULL; const gchar *suffix = NULL; - int offset = 0; new_dissector_t opdissector = NULL; const value_string *lookup; proto_item *item=NULL; @@ -250,7 +249,7 @@ static gboolean ros_try_string(const char *oid, tvbuff_t *tvb, packet_info *pinf col_append_str(pinfo->cinfo, COL_INFO, suffix); } - offset = (*opdissector)(tvb, pinfo, ros_tree); + (*opdissector)(tvb, pinfo, ros_tree); return TRUE; } @@ -1013,7 +1012,7 @@ dissect_ros_Code(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, a /*--- End of included file: packet-ros-fn.c ---*/ -#line 372 "../../asn1/ros/packet-ros-template.c" +#line 371 "../../asn1/ros/packet-ros-template.c" /* * Dissect ROS PDUs inside a PPDU. @@ -1245,7 +1244,7 @@ void proto_register_ros(void) { "OBJECT_IDENTIFIER", HFILL }}, /*--- End of included file: packet-ros-hfarr.c ---*/ -#line 491 "../../asn1/ros/packet-ros-template.c" +#line 490 "../../asn1/ros/packet-ros-template.c" }; /* List of subtrees */ @@ -1266,7 +1265,7 @@ void proto_register_ros(void) { &ett_ros_Code, /*--- End of included file: packet-ros-ettarr.c ---*/ -#line 498 "../../asn1/ros/packet-ros-template.c" +#line 497 "../../asn1/ros/packet-ros-template.c" }; /* Register protocol */ |