Revision: 53819
          http://brlcad.svn.sourceforge.net/brlcad/?rev=53819&view=rev
Author:   starseeker
Date:     2012-11-26 19:27:53 +0000 (Mon, 26 Nov 2012)
Log Message:
-----------
And thats why we want to see the non-Eigen warnings.  Rename shadowed vars in 
test_botpatches

Modified Paths:
--------------
    brlcad/trunk/src/librt/test_botpatches.cpp

Modified: brlcad/trunk/src/librt/test_botpatches.cpp
===================================================================
--- brlcad/trunk/src/librt/test_botpatches.cpp  2012-11-26 19:23:15 UTC (rev 
53818)
+++ brlcad/trunk/src/librt/test_botpatches.cpp  2012-11-26 19:27:53 UTC (rev 
53819)
@@ -747,10 +747,10 @@
            // Find largest remaining face in group
            double face_size_criteria = 0.0;
            size_t smallest_face = 0;
-           for (std::set<size_t>::iterator fg_it = faces->begin(); fg_it != 
faces->end(); fg_it++) {
-               double fa = face_area(info->bot, *fg_it);
+           for (std::set<size_t>::iterator fgl_it = faces->begin(); fgl_it != 
faces->end(); fgl_it++) {
+               double fa = face_area(info->bot, *fgl_it);
                if (fa > face_size_criteria) {
-                   smallest_face = (*fg_it);
+                   smallest_face = (*fgl_it);
                    face_size_criteria = fa;
                }
            }
@@ -1293,8 +1293,8 @@
        // XXX todo: dynamically sample the curve
        ON_3dPoint pt_3d = edge_curve->PointAt(dom.ParameterAt(0));
        data.push_back(ON_3dVector(pt_3d));
-       for (int i = 1; i < 50; i++) {
-           pt_3d = 
edge_curve->PointAt(dom.ParameterAt((double)(i)/(double)50));
+       for (int ipts = 1; ipts < 50; ipts++) {
+           pt_3d = 
edge_curve->PointAt(dom.ParameterAt((double)(ipts)/(double)50));
            data.push_back(ON_3dVector(pt_3d));
        }
        pt_3d = edge_curve->PointAt(dom.ParameterAt(1.0));
@@ -1438,10 +1438,10 @@
 
 //#ifdef BOT_TO_NURBS_DEBUG
     for (std::map< size_t, std::set<size_t> >::iterator np_it = 
info.patches.begin(); np_it != info.patches.end(); np_it++) {
-       struct bu_vls name;
-       bu_vls_init(&name);
-       bu_vls_printf(&name, "patch_%d.pl", (int)(*np_it).first);
-       FILE* plot_file = fopen(bu_vls_addr(&name), "w");
+       struct bu_vls pname;
+       bu_vls_init(&pname);
+       bu_vls_printf(&pname, "patch_%d.pl", (int)(*np_it).first);
+       FILE* plot_file = fopen(bu_vls_addr(&pname), "w");
        int r = int(256*drand48() + 1.0);
        int g = int(256*drand48() + 1.0);
        int b = int(256*drand48() + 1.0);

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


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to