From 7ebd1f4b7960100ff9f4a1bfcf3e798fbec9dfbd Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 19 Jul 2022 13:32:23 +1000 Subject: [PATCH] Cleanup: quiet compiler warnings --- intern/opensubdiv/stub/opensubdiv_stub.cc | 5 ----- source/blender/editors/sculpt_paint/paint_stroke.c | 2 +- 2 files changed, 1 insertion(+), 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; }