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:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-03-31 15:34:57 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-03-31 15:35:56 +0400
commita9b82244de30cd90cc27c000e0d84d9144c8c1ab (patch)
treede75248c72fb8496d0408ec052f7cc0bd1b303e1 /source/blender
parented775edeeb489e4710bb685a5fd47b16102eb87a (diff)
Code cleanup: fixes for function prototypes
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenkernel/intern/displist.c2
-rw-r--r--source/blender/editors/sculpt_paint/paint_undo.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/displist.c b/source/blender/blenkernel/intern/displist.c
index 4b251396376..992e369a20f 100644
--- a/source/blender/blenkernel/intern/displist.c
+++ b/source/blender/blenkernel/intern/displist.c
@@ -1726,7 +1726,7 @@ static void do_makeDispListCurveTypes(Scene *scene, Object *ob, ListBase *dispba
}
}
-void BKE_displist_make_curveTypes(Scene *scene, Object *ob, bool for_orco)
+void BKE_displist_make_curveTypes(Scene *scene, Object *ob, const bool for_orco)
{
ListBase *dispbase;
diff --git a/source/blender/editors/sculpt_paint/paint_undo.c b/source/blender/editors/sculpt_paint/paint_undo.c
index cc97a2de6f4..f3946e30b83 100644
--- a/source/blender/editors/sculpt_paint/paint_undo.c
+++ b/source/blender/editors/sculpt_paint/paint_undo.c
@@ -294,9 +294,9 @@ static void undo_step_num(bContext *C, UndoStack *stack, int step)
void ED_undo_paint_step_num(bContext *C, int type, int step)
{
if (type == UNDO_PAINT_IMAGE)
- return undo_step_num(C, &ImageUndoStack, step);
+ undo_step_num(C, &ImageUndoStack, step);
else if (type == UNDO_PAINT_MESH)
- return undo_step_num(C, &MeshUndoStack, step);
+ undo_step_num(C, &MeshUndoStack, step);
}
static char *undo_stack_get_name(UndoStack *stack, int nr, int *active)