From 627b294317e953ee4e2922a3df243df3b9b1196e Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 31 Jul 2020 12:03:11 +0200 Subject: [PATCH] Fix build error with clang --- source/blender/blenlib/intern/session_uuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/blenlib/intern/session_uuid.c b/source/blender/blenlib/intern/session_uuid.c index 51d1177a332..a5307684059 100644 --- a/source/blender/blenlib/intern/session_uuid.c +++ b/source/blender/blenlib/intern/session_uuid.c @@ -31,7 +31,7 @@ static const SessionUUID global_session_uuid_none = {BLI_SESSION_UUID_NONE}; /* Denotes last used UUID. * It might eventually overflow, and easiest is to add more bits to it. */ -static SessionUUID global_session_uuid = global_session_uuid_none; +static SessionUUID global_session_uuid = {BLI_SESSION_UUID_NONE}; SessionUUID BLI_session_uuid_generate(void) {