From 0ec35b518a9ce6ad98e3f8c25e430bdf80be4f3d Mon Sep 17 00:00:00 2001 From: stig Date: Tue, 29 Sep 2009 19:40:21 +0000 Subject: 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 --- epan/wspython/wspy_register.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'epan/wspython') 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); -- cgit v1.2.3