[Bf-blender-cvs] [627b294317e] blender-v2.90-release: Fix build error with clang
Brecht Van Lommel
noreply at git.blender.org
Fri Jul 31 12:20:15 CEST 2020
Commit: 627b294317e953ee4e2922a3df243df3b9b1196e
Author: Brecht Van Lommel
Date: Fri Jul 31 12:03:11 2020 +0200
Branches: blender-v2.90-release
https://developer.blender.org/rB627b294317e953ee4e2922a3df243df3b9b1196e
Fix build error with clang
===================================================================
M source/blender/blenlib/intern/session_uuid.c
===================================================================
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)
{
More information about the Bf-blender-cvs
mailing list