From f9f0f44be85d4631afbbf9b248dc7787dd41255f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 1 Apr 2020 10:41:34 +1100 Subject: Cleanup: quiet discarded-qualifiers, unused warnings --- source/blender/editors/object/object_remesh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors') diff --git a/source/blender/editors/object/object_remesh.c b/source/blender/editors/object/object_remesh.c index 08c44b87664..99e9f3034c9 100644 --- a/source/blender/editors/object/object_remesh.c +++ b/source/blender/editors/object/object_remesh.c @@ -320,7 +320,7 @@ static void voxel_size_edit_draw(const bContext *UNUSED(C), ARegion *UNUSED(ar), pos3d, cd->preview_plane[1], cd->preview_plane[2], cd->preview_plane[0], cd->voxel_size); /* Draw text */ - uiStyle *style = UI_style_get(); + const uiStyle *style = UI_style_get(); const uiFontStyle *fstyle = &style->widget; const int fontid = fstyle->uifont_id; float strwidth, strheight; -- cgit v1.2.3