Revision: 40921
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40921&view=rev
Author:   erikgreenwald
Date:     2010-10-07 02:45:57 +0000 (Thu, 07 Oct 2010)

Log Message:
-----------
set the first element of the array, hopefully this is good enough to silence 
the warning

Modified Paths:
--------------
    brlcad/trunk/src/libbn/randmt.c

Modified: brlcad/trunk/src/libbn/randmt.c
===================================================================
--- brlcad/trunk/src/libbn/randmt.c     2010-10-07 02:43:21 UTC (rev 40920)
+++ brlcad/trunk/src/libbn/randmt.c     2010-10-07 02:45:57 UTC (rev 40921)
@@ -56,7 +56,7 @@
     uint32_t magic;
     int mti;           /* state index */
     uint32_t mt[N];    /* state vector */
-} global_state_static = { MERSENNE_MAGIC, N+1 };
+} global_state_static = { MERSENNE_MAGIC, N+1, {0} };
 
 static struct _internal_state_s *global_state = &global_state_static;
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to