From 8fd9516a716cdbec4c939572dd419f9e28c1351a Mon Sep 17 00:00:00 2001 From: Gary Oberbrunner Date: Fri, 17 Apr 2020 18:19:56 -0600 Subject: Fix: Build error on headless build This simple patch removes an "UNUSED_VARS" macro referencing a variable which doesn't exist (r_unit_size). It only affects the headless build Differential Revision: https://developer.blender.org/D7464 Reviewed By: harley --- source/blender/windowmanager/intern/wm_splash_screen.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender') diff --git a/source/blender/windowmanager/intern/wm_splash_screen.c b/source/blender/windowmanager/intern/wm_splash_screen.c index 613ac5938bd..f209a2f31a3 100644 --- a/source/blender/windowmanager/intern/wm_splash_screen.c +++ b/source/blender/windowmanager/intern/wm_splash_screen.c @@ -254,7 +254,6 @@ static ImBuf *wm_block_splash_image(int width, int *r_height) return ibuf; #else - UNUSED_VARS(r_unit_size); return NULL; #endif } -- cgit v1.2.3