aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcerpc.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2018-10-10 15:57:16 +0200
committerPeter Wu <peter@lekensteyn.nl>2018-10-11 10:27:31 +0000
commitb6d182859ebb22933aee010c38187b249a75043a (patch)
tree4f4db9ae4d3cab3ed39fab94cb2f51d2d55a6cd8 /epan/dissectors/packet-dcerpc.c
parent9fcb4af6b6851c74bf4afb0f076ee16d7e27c6c4 (diff)
DCERPC: remove unused variable and mark another global as static
dcerpc_hooks_init_protos is unused since v1.11.3-rc1-34-g01c8945438. uuid_dissector_table was added in v2.1.0rc0-391-ge0e574d167 and was not used outside the file, so mark it as static. Change-Id: I6113fbaf1f2e2e6241b91b659711986d6e6ded66 Reviewed-on: https://code.wireshark.org/review/30116 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'epan/dissectors/packet-dcerpc.c')
-rw-r--r--epan/dissectors/packet-dcerpc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/epan/dissectors/packet-dcerpc.c b/epan/dissectors/packet-dcerpc.c
index 861b12684f..e21b596c15 100644
--- a/epan/dissectors/packet-dcerpc.c
+++ b/epan/dissectors/packet-dcerpc.c
@@ -1019,9 +1019,6 @@ static const fragment_items dcerpc_frag_items = {
"fragments"
};
-/* list of hooks to be called when init_protocols is done */
-GHookList dcerpc_hooks_init_protos;
-
/* try to desegment big DCE/RPC packets over TCP? */
static gboolean dcerpc_cn_desegment = TRUE;
@@ -1322,7 +1319,7 @@ typedef struct _dcerpc_dissector_data
* Subdissectors
*/
-dissector_table_t uuid_dissector_table;
+static dissector_table_t uuid_dissector_table;
/* the registered subdissectors */
GHashTable *dcerpc_uuids = NULL;