Revision: 42161
          http://brlcad.svn.sourceforge.net/brlcad/?rev=42161&view=rev
Author:   brlcad
Date:     2011-01-12 19:01:12 +0000 (Wed, 12 Jan 2011)

Log Message:
-----------
init max_pt too, quell warning

Modified Paths:
--------------
    brlcad/trunk/src/librt/primitives/nmg/nmg_brep.cpp

Modified: brlcad/trunk/src/librt/primitives/nmg/nmg_brep.cpp
===================================================================
--- brlcad/trunk/src/librt/primitives/nmg/nmg_brep.cpp  2011-01-12 18:59:57 UTC 
(rev 42160)
+++ brlcad/trunk/src/librt/primitives/nmg/nmg_brep.cpp  2011-01-12 19:01:12 UTC 
(rev 42161)
@@ -129,7 +129,10 @@
                nmg_tabulate_face_g_verts(&vert_table, fg);
                point_t tmppt, center, max_pt;
                struct vertex **pt;
+
                VSET(tmppt, 0, 0, 0);
+               VSET(max_pt, 0, 0, 0);
+
                int ptcnt = 0;
                for (BU_PTBL_FOR(pt, (struct vertex **), &vert_table)) {
                    tmppt[0] += (*pt)->vg_p->coord[0];


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

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to