aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wspython
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-29 19:40:21 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-29 19:40:21 +0000
commit0ec35b518a9ce6ad98e3f8c25e430bdf80be4f3d (patch)
tree2747c4e01262b4d66fb3f911b4b6036c567f42d5 /epan/wspython
parent73dbd12e4daf41e9b3c26df115ff2358fe89a1b6 (diff)
Mark unused argument instead of assigning to an unused variable.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30204 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/wspython')
-rw-r--r--epan/wspython/wspy_register.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/epan/wspython/wspy_register.c b/epan/wspython/wspy_register.c
index f8984bb4a6..dd3e4fb1bc 100644
--- a/epan/wspython/wspy_register.c
+++ b/epan/wspython/wspy_register.c
@@ -125,17 +125,14 @@ static const char *get_py_register_file(void)
/**
* Finds out all the python dissectors and register them
*/
-void register_all_py_protocols_func(register_cb cb, gpointer client_data)
+void register_all_py_protocols_func(register_cb cb _U_, gpointer client_data _U_)
{
FILE * py_reg;
PyObject * global_dict, * main_module, * register_fn;
PyObject * py_dissectors, * py_dissector;
PyObject * py_args;
Py_ssize_t index;
- void * nothing;
char * name;
- nothing = cb;
- nothing = client_data;
/* intialize the hash table where all the python dissectors are kept */
g_py_dissectors = g_hash_table_new(g_str_hash, g_str_equal);