[Bf-blender-cvs] [8fd9516a716] blender-v2.83-release: Fix: Build error on headless build

Gary Oberbrunner noreply at git.blender.org
Sat Apr 18 02:20:02 CEST 2020


Commit: 8fd9516a716cdbec4c939572dd419f9e28c1351a
Author: Gary Oberbrunner
Date:   Fri Apr 17 18:19:56 2020 -0600
Branches: blender-v2.83-release
https://developer.blender.org/rB8fd9516a716cdbec4c939572dd419f9e28c1351a

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

===================================================================

M	source/blender/windowmanager/intern/wm_splash_screen.c

===================================================================

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
 }



More information about the Bf-blender-cvs mailing list