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>2021-03-21 05:59:08 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-03-21 06:00:40 +0300
commitbf13a4d3ff2a8b91d8da030e3b52b7185fc0c1c0 (patch)
tree0afeb2f1f3d8d2f3f19ff6742d1671c17e499045
parent6d97f9a5c1c77d30b4a1939ad81708a44f225280 (diff)
Cleanup: unused return statements
-rw-r--r--source/blender/freestyle/intern/view_map/ViewMap.cpp2
-rw-r--r--source/blender/gpencil_modifiers/intern/lineart/lineart_ops.c2
2 files changed, 0 insertions, 4 deletions
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,