[Bf-blender-cvs] [227f0f3582f] master: Cleanup: quiet missing braces warning

Campbell Barton noreply at git.blender.org
Thu Jan 13 02:35:52 CET 2022


Commit: 227f0f3582f66e93d05b79c51a527838aa228af8
Author: Campbell Barton
Date:   Thu Jan 13 12:31:47 2022 +1100
Branches: master
https://developer.blender.org/rB227f0f3582f66e93d05b79c51a527838aa228af8

Cleanup: quiet missing braces warning

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

M	source/blender/makesdna/DNA_movieclip_defaults.h

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

diff --git a/source/blender/makesdna/DNA_movieclip_defaults.h b/source/blender/makesdna/DNA_movieclip_defaults.h
index e9013b08d79..441c2231009 100644
--- a/source/blender/makesdna/DNA_movieclip_defaults.h
+++ b/source/blender/makesdna/DNA_movieclip_defaults.h
@@ -67,10 +67,10 @@
     .slide_scale = {0.0f, 0.0f}, \
   }
 
-/* initialise as all zeros */
+/* initialize as all zeros. */
 #define _DNA_DEFAULT_MovieTrackingMarker \
   { \
-    0, \
+    .pos = {0.0f, 0.0f}, \
   }
 
 /** \} */



More information about the Bf-blender-cvs mailing list