Revision: 49065
          http://brlcad.svn.sourceforge.net/brlcad/?rev=49065&view=rev
Author:   brlcad
Date:     2012-01-25 05:03:53 +0000 (Wed, 25 Jan 2012)
Log Message:
-----------
gcc complains about not initializing the remainder of the struct members if 
we're going to perform static initialization this way.  a memset() might be 
more apropriate, but this does the trick with no runtime overhead.

Modified Paths:
--------------
    brlcad/trunk/src/conv/intaval/read_dra.cpp

Modified: brlcad/trunk/src/conv/intaval/read_dra.cpp
===================================================================
--- brlcad/trunk/src/conv/intaval/read_dra.cpp  2012-01-24 23:41:23 UTC (rev 
49064)
+++ brlcad/trunk/src/conv/intaval/read_dra.cpp  2012-01-25 05:03:53 UTC (rev 
49065)
@@ -375,7 +375,7 @@
     if (is) {
        writeTitle(wdbp, title);
 
-       Form form = {0};
+       Form form = {0, 0, 0, 0, {{{0}}}, {0, 0, 0}, 0, 0, 0, 0};
        bool translatedShape = false;
        int  id;
 

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


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to