[Bf-blender-cvs] [bf13a4d3ff2] master: Cleanup: unused return statements
Campbell Barton
noreply at git.blender.org
Sun Mar 21 04:16:24 CET 2021
Commit: bf13a4d3ff2a8b91d8da030e3b52b7185fc0c1c0
Author: Campbell Barton
Date: Sun Mar 21 13:59:08 2021 +1100
Branches: master
https://developer.blender.org/rBbf13a4d3ff2a8b91d8da030e3b52b7185fc0c1c0
Cleanup: unused return statements
===================================================================
M source/blender/freestyle/intern/view_map/ViewMap.cpp
M source/blender/gpencil_modifiers/intern/lineart/lineart_ops.c
===================================================================
diff --git a/source/blender/freestyle/intern/view_map/ViewMap.cpp b/source/blender/freestyle/intern/view_map/ViewMap.cpp
index d304c3616d7..13ee2851c6c 100644
--- a/source/blender/freestyle/intern/view_map/ViewMap.cpp
+++ b/source/blender/freestyle/intern/view_map/ViewMap.cpp
@@ -332,8 +332,6 @@ static bool ViewEdgeComp(ViewVertex::directedViewEdge &dve1, ViewVertex::directe
}
return (v1.x() < v2.x());
-
- return false;
}
void TVertex::setFrontEdgeA(ViewEdge *iFrontEdgeA, bool incoming)
diff --git a/source/blender/gpencil_modifiers/intern/lineart/lineart_ops.c b/source/blender/gpencil_modifiers/intern/lineart/lineart_ops.c
index cf0d0e3ae3b..8d576db2c73 100644
--- a/source/blender/gpencil_modifiers/intern/lineart/lineart_ops.c
+++ b/source/blender/gpencil_modifiers/intern/lineart/lineart_ops.c
@@ -351,8 +351,6 @@ static int lineart_gpencil_bake_strokes_invoke(bContext *C,
static int lineart_gpencil_bake_strokes_exec(bContext *C, wmOperator *op)
{
return lineart_gpencil_bake_common(C, op, false, false);
-
- return OPERATOR_FINISHED;
}
static int lineart_gpencil_bake_strokes_commom_modal(bContext *C,
wmOperator *op,
More information about the Bf-blender-cvs
mailing list