CID 1161: Not really used variable
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 19 Apr 2011 21:20:15 +0000 (21:20 +0000)
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 19 Apr 2011 21:20:15 +0000 (21:20 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36725 f5534014-38df-0310-8fa8-9805f1628bb7

plugins/profinet/packet-pn.c

index 0257ea3b80872f7333463112c6ed1d8f3bb150b4..e8c1e0ceabe13104bf591af7f88066596549705c 100644 (file)
@@ -220,10 +220,7 @@ int
 dissect_pn_user_data(tvbuff_t *tvb, int offset, packet_info *pinfo _U_,
                     proto_tree *tree, guint32 length, const char *text)
 {
-    proto_item *item;
-
-
-    item = proto_tree_add_string_format(tree, hf_pn_user_data, tvb, offset, length, "data",
+    proto_tree_add_string_format(tree, hf_pn_user_data, tvb, offset, length, "data",
         "%s: %d bytes", text, length);
 
     return offset + length;