[Bf-blender-cvs] [5fec6eda551] master: Cleanup: silence Clang missing-braces warning.

Ankit Meel noreply at git.blender.org
Thu Oct 14 06:36:24 CEST 2021


Commit: 5fec6eda551470d320dd2ab586e13dcc06de1d2f
Author: Ankit Meel
Date:   Thu Oct 14 10:06:16 2021 +0530
Branches: master
https://developer.blender.org/rB5fec6eda551470d320dd2ab586e13dcc06de1d2f

Cleanup: silence Clang missing-braces warning.

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

M	source/blender/blenlib/intern/uuid.cc

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

diff --git a/source/blender/blenlib/intern/uuid.cc b/source/blender/blenlib/intern/uuid.cc
index 3c86238036c..de4602bf3ed 100644
--- a/source/blender/blenlib/intern/uuid.cc
+++ b/source/blender/blenlib/intern/uuid.cc
@@ -83,7 +83,7 @@ bUUID BLI_uuid_generate_random()
 
 bUUID BLI_uuid_nil(void)
 {
-  const bUUID nil = {0, 0, 0, 0, 0, 0};
+  const bUUID nil = {0, 0, 0, 0, 0, {0}};
   return nil;
 }



More information about the Bf-blender-cvs mailing list