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/space_text/text_autocomplete.c | |
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/space_text/text_autocomplete.c')
-rw-r--r-- | source/blender/editors/space_text/text_autocomplete.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |