diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-05-23 18:04:45 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-05-23 18:04:45 +0000 |
commit | 058fc19f453cc7445a62036a29bc69938ceb1a2a (patch) | |
tree | b6742a2306673feac9690bef2c9a9b5063bbac53 /epan/dissectors/packet-fcgi.c | |
parent | d6fb7f50dfc047183116095a32bd7b7b97f77446 (diff) | |
download | wireshark-058fc19f453cc7445a62036a29bc69938ceb1a2a.tar.gz |
Fix various benign cases of Coverity [UNUSED]: 996,995,956,936,899,1133,1000
svn path=/trunk/; revision=37371
Diffstat (limited to 'epan/dissectors/packet-fcgi.c')
-rw-r--r-- | epan/dissectors/packet-fcgi.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/epan/dissectors/packet-fcgi.c b/epan/dissectors/packet-fcgi.c index 2edad61971..1d811373af 100644 --- a/epan/dissectors/packet-fcgi.c +++ b/epan/dissectors/packet-fcgi.c @@ -50,7 +50,6 @@ static int hf_fcgi_end_request_protocol_status = -1; static int ett_fcgi = -1; static int ett_fcgi_begin_request = -1; -static int ett_fcgi_abort_request = -1; static int ett_fcgi_end_request = -1; static int ett_fcgi_params = -1; @@ -166,11 +165,7 @@ dissect_begin_request(tvbuff_t *tvb, proto_tree *fcgi_tree, gint offset, guint16 static void dissect_abort_request(tvbuff_t *tvb, proto_tree *fcgi_tree, gint offset, guint16 len) { - proto_item *ar; - proto_tree *ar_tree; - - ar = proto_tree_add_text(fcgi_tree, tvb, offset, len, "Abort Request:"); - ar_tree = proto_item_add_subtree(ar, ett_fcgi_abort_request); + proto_tree_add_text(fcgi_tree, tvb, offset, len, "Abort Request:"); return; } @@ -384,7 +379,6 @@ proto_register_fcgi(void) static gint *ett[] = { &ett_fcgi, &ett_fcgi_begin_request, - &ett_fcgi_abort_request, &ett_fcgi_end_request, &ett_fcgi_params }; |