Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo123>2020-04-18 03:19:56 +0300
committerRay Molenkamp <github@lazydodo.com>2020-04-18 03:19:56 +0300
commit8fd9516a716cdbec4c939572dd419f9e28c1351a (patch)
tree79fde54d1b17a49be9ce4d4f34af88d626469a69 /source/blender/windowmanager
parent76b3aac802f9feb2c32f2afcb54b86240a59766e (diff)
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
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_splash_screen.c1
1 files changed, 0 insertions, 1 deletions
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
}