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)
 {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to