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 <campbell@blender.org>2022-07-19 06:32:23 +0300
committerCampbell Barton <campbell@blender.org>2022-07-19 06:32:53 +0300
commit7ebd1f4b7960100ff9f4a1bfcf3e798fbec9dfbd (patch)
treeae2fee92a44ffc5e84d40f9b5841fa5aa236c592
parent37922eab90a9147cb0282cf648e4b6e1e5f05d66 (diff)
Cleanup: quiet compiler warnings
-rw-r--r--intern/opensubdiv/stub/opensubdiv_stub.cc5
-rw-r--r--source/blender/editors/sculpt_paint/paint_stroke.c2
2 files changed, 1 insertions, 6 deletions
diff --git a/intern/opensubdiv/stub/opensubdiv_stub.cc b/intern/opensubdiv/stub/opensubdiv_stub.cc
index 24bdcbc79ff..5eaa2df9a27 100644
--- a/intern/opensubdiv/stub/opensubdiv_stub.cc
+++ b/intern/opensubdiv/stub/opensubdiv_stub.cc
@@ -28,11 +28,6 @@ void openSubdiv_cleanup()
{
}
-int openSubdiv_getAvailableEvaluators()
-{
- return 0;
-}
-
int openSubdiv_getVersionHex()
{
return 0;
diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c b/source/blender/editors/sculpt_paint/paint_stroke.c
index 33a307376bb..88e7a786a47 100644
--- a/source/blender/editors/sculpt_paint/paint_stroke.c
+++ b/source/blender/editors/sculpt_paint/paint_stroke.c
@@ -247,7 +247,7 @@ static bool paint_stroke_use_scene_spacing(Brush *brush, ePaintMode mode)
return false;
}
-static bool paint_tool_raycast_original(Brush *brush, ePaintMode mode)
+static bool paint_tool_raycast_original(Brush *brush, ePaintMode UNUSED(mode))
{
return brush->flag & BRUSH_ANCHORED;
}