[Bf-blender-cvs] [7ebd1f4b796] master: Cleanup: quiet compiler warnings
Campbell Barton
noreply at git.blender.org
Tue Jul 19 05:32:47 CEST 2022
Commit: 7ebd1f4b7960100ff9f4a1bfcf3e798fbec9dfbd
Author: Campbell Barton
Date: Tue Jul 19 13:32:23 2022 +1000
Branches: master
https://developer.blender.org/rB7ebd1f4b7960100ff9f4a1bfcf3e798fbec9dfbd
Cleanup: quiet compiler warnings
===================================================================
M intern/opensubdiv/stub/opensubdiv_stub.cc
M source/blender/editors/sculpt_paint/paint_stroke.c
===================================================================
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;
}
More information about the Bf-blender-cvs
mailing list