From f0b5a9da017a00c094cb7ab8bd0aa289c921a117 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 20 Nov 2018 08:53:00 +1100 Subject: Cleanup: style, unused --- source/blender/blenkernel/intern/studiolight.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenkernel/intern/studiolight.c') diff --git a/source/blender/blenkernel/intern/studiolight.c b/source/blender/blenkernel/intern/studiolight.c index 736a06a3148..ce7372dc0b9 100644 --- a/source/blender/blenkernel/intern/studiolight.c +++ b/source/blender/blenkernel/intern/studiolight.c @@ -200,7 +200,7 @@ static void equirect_to_direction(float r[3], float u, float v) r[2] = cosf(theta); } -static void direction_to_cube_face_uv(float r_uv[2], int *r_face, const float dir[3]) +static void UNUSED_FUNCTION(direction_to_cube_face_uv)(float r_uv[2], int *r_face, const float dir[3]) { if (fabsf(dir[0]) > fabsf(dir[1]) && fabsf(dir[0]) > fabsf(dir[2])) { bool is_pos = (dir[0] > 0.0f); -- cgit v1.2.3