diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-05-21 11:37:59 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-05-21 11:37:59 +0400 |
commit | cd6b27f2b58aff46c9431bf7621e19bdb1b0b4c2 (patch) | |
tree | 0631ffabeea1a2b2b63276efe802e371f25080f7 /source/blender/editors | |
parent | 10316768007df813ed2149c315c0db0415dda0e1 (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/editors')
-rw-r--r-- | source/blender/editors/interface/interface_ops.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_text/text_autocomplete.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_ops.c b/source/blender/editors/interface/interface_ops.c index 1dc6f44c95a..f5758711ad2 100644 --- a/source/blender/editors/interface/interface_ops.c +++ b/source/blender/editors/interface/interface_ops.c @@ -733,7 +733,7 @@ static void ui_editsource_active_but_set(uiBut *but) static void ui_editsource_active_but_clear(void) { - BLI_ghash_free(ui_editsource_info->hash, NULL, (GHashValFreeFP)MEM_freeN); + BLI_ghash_free(ui_editsource_info->hash, NULL, MEM_freeN); MEM_freeN(ui_editsource_info); ui_editsource_info = NULL; } diff --git a/source/blender/editors/space_text/text_autocomplete.c b/source/blender/editors/space_text/text_autocomplete.c index b3ac04fac21..b1e4aaad7f7 100644 --- a/source/blender/editors/space_text/text_autocomplete.c +++ b/source/blender/editors/space_text/text_autocomplete.c @@ -521,7 +521,7 @@ static void text_autocomplete_free(bContext *C, wmOperator *op) { GHash *gh = op->customdata; if (gh) { - BLI_ghash_free(gh, NULL, (GHashValFreeFP)MEM_freeN); + BLI_ghash_free(gh, NULL, MEM_freeN); op->customdata = NULL; } |