Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-05-21 11:37:59 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-21 11:37:59 +0400
commitcd6b27f2b58aff46c9431bf7621e19bdb1b0b4c2 (patch)
tree0631ffabeea1a2b2b63276efe802e371f25080f7 /source/blender/blenkernel/intern/addon.c
parent10316768007df813ed2149c315c0db0415dda0e1 (diff)
remove return value from MEM_freeN, it wasn't used anywhere and was cast to a different function signature. (which evidently works but error prone).
Diffstat (limited to 'source/blender/blenkernel/intern/addon.c')
-rw-r--r--source/blender/blenkernel/intern/addon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/addon.c b/source/blender/blenkernel/intern/addon.c
index 7f475cd4732..ae6ec7cd7e1 100644
--- a/source/blender/blenkernel/intern/addon.c
+++ b/source/blender/blenkernel/intern/addon.c
@@ -69,7 +69,7 @@ void BKE_addon_pref_type_add(bAddonPrefType *apt)
void BKE_addon_pref_type_remove(bAddonPrefType *apt)
{
- BLI_ghash_remove(global_addonpreftype_hash, (void *)apt->idname, NULL, (GHashValFreeFP)MEM_freeN);
+ BLI_ghash_remove(global_addonpreftype_hash, (void *)apt->idname, NULL, MEM_freeN);
}
void BKE_addon_pref_type_init(void)
@@ -80,6 +80,6 @@ void BKE_addon_pref_type_init(void)
void BKE_addon_pref_type_free(void)
{
- BLI_ghash_free(global_addonpreftype_hash, NULL, (GHashValFreeFP)MEM_freeN);
+ BLI_ghash_free(global_addonpreftype_hash, NULL, MEM_freeN);
global_addonpreftype_hash = NULL;
}