some basic changes to try to fix for the -Wpedantic flag

This commit is contained in:
herbglitch 2024-06-16 02:49:23 -06:00
parent 19d6120871
commit 3f5e631388
4 changed files with 31 additions and 4 deletions

View file

@ -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);
}
}