some basic changes to try to fix for the -Wpedantic flag
This commit is contained in:
parent
19d6120871
commit
3f5e631388
4 changed files with 31 additions and 4 deletions
|
|
@ -583,7 +583,7 @@ void ARC_Config_CreateGroup(ARC_Config *config, ARC_String *name){
|
|||
|
||||
void ARC_Config_DestroyGroup(ARC_HashtableNode *group, void *userdata){
|
||||
free((char *)group->key);
|
||||
return ARC_Hashtable_Destroy((ARC_Hashtable *)group->data, ARC_Config_DestroyGroupNode, userdata);
|
||||
ARC_Hashtable_Destroy((ARC_Hashtable *)group->data, ARC_Config_DestroyGroupNode, userdata);
|
||||
}
|
||||
|
||||
void ARC_Config_DestroyGroupNode(ARC_HashtableNode *node, void *userdata){
|
||||
|
|
@ -609,4 +609,4 @@ void ARC_Config_RemoveKey(ARC_HashtableNode *node, void *userdata){
|
|||
}
|
||||
|
||||
free((ARC_ConfigKey *)node->data);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue