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>2014-04-04 07:26:01 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-04 07:26:01 +0400
commit45b02cee471dd75d54fc74d3bd6072ac7689d205 (patch)
treeea1a08ca98e0e122fbd17477658c732cf4997217 /source/blender/editors/sculpt_paint/sculpt_undo.c
parent2bba04f1b0c3fa3ebee7958706147e07fb413f56 (diff)
Code cleanup: no need to use calloc when memory is initialized after
also replace AT with __func__ since AT expands the full pathname
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_undo.c')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_undo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_undo.c b/source/blender/editors/sculpt_paint/sculpt_undo.c
index 724e3ff1849..b086bff1ba7 100644
--- a/source/blender/editors/sculpt_paint/sculpt_undo.c
+++ b/source/blender/editors/sculpt_paint/sculpt_undo.c
@@ -712,7 +712,7 @@ static SculptUndoNode *sculpt_undo_bmesh_push(Object *ob,
PBVHVertexIter vd;
if (!lb->first) {
- unode = MEM_callocN(sizeof(*unode), AT);
+ unode = MEM_callocN(sizeof(*unode), __func__);
BLI_strncpy(unode->idname, ob->id.name, sizeof(unode->idname));
unode->type = type;