diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-09-29 19:40:21 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-09-29 19:40:21 +0000 |
commit | 2a0e50774746736e435295976ade643d492059f3 (patch) | |
tree | 2747c4e01262b4d66fb3f911b4b6036c567f42d5 /epan/wspython | |
parent | b8ae6ea510fbaaa15503fa272e79a93d70e9e360 (diff) |
Mark unused argument instead of assigning to an unused variable.
svn path=/trunk/; revision=30204
Diffstat (limited to 'epan/wspython')
-rw-r--r-- | epan/wspython/wspy_register.c | 5 |
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); |