diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-11-17 22:08:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-11-17 22:10:53 +0300 |
commit | a1a8343281354d2dfb192e7b9262921ee132a287 (patch) | |
tree | e70716abc09cf8d6410f9023c269e40435a73826 /source/blender/blenkernel/intern | |
parent | d294509dd845a1cab07cccd2bdcb7797b01cae32 (diff) |
Cleanup: redundant index loop for monkey-create
Also rename face vars (the faces aren't temp),
and quiet old-style-definition warning.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/blender_undo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/blender_undo.c b/source/blender/blenkernel/intern/blender_undo.c index ce6d29bbfee..bc98d6f6805 100644 --- a/source/blender/blenkernel/intern/blender_undo.c +++ b/source/blender/blenkernel/intern/blender_undo.c @@ -320,7 +320,7 @@ const char *BKE_undo_get_name(int nr, bool *r_active) } /* return the name of the last item */ -const char *BKE_undo_get_name_last() +const char *BKE_undo_get_name_last(void) { UndoElem *uel = undobase.last; return (uel ? uel->name : NULL); |