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>
This commit is contained in:
Peter Wu 2018-10-10 15:57:16 +02:00
parent 9fcb4af6b6
commit b6d182859e
1 changed files with 1 additions and 4 deletions

View File

@ -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;