Whilst in the process of fixing outstanding function-pointer casts in the
LHASH code, this evil was uncovered. The cast was obscuring the fact that the function was prototyped to take 2 parameters when in fact it is being used as a callback that should take only one. Anyway, the function itself ignores the second parameter (thankfully). A proper cure is on the way but for now this corrects the inconsistency.
This commit is contained in:
parent
601140b363
commit
ad2e032049
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ void OBJ_NAME_do_all_sorted(int type,void (*fn)(const OBJ_NAME *,void *arg),
|
|||
|
||||
static int free_type;
|
||||
|
||||
static void names_lh_free(OBJ_NAME *onp, int type)
|
||||
static void names_lh_free(OBJ_NAME *onp)
|
||||
{
|
||||
if(onp == NULL)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue