Revision: 48426
          http://brlcad.svn.sourceforge.net/brlcad/?rev=48426&view=rev
Author:   indianlarry
Date:     2012-01-11 19:19:59 +0000 (Wed, 11 Jan 2012)
Log Message:
-----------
Removed unused debug code causing coverity CID 2037.

Modified Paths:
--------------
    brlcad/trunk/src/conv/step/PullbackCurve.cpp

Modified: brlcad/trunk/src/conv/step/PullbackCurve.cpp
===================================================================
--- brlcad/trunk/src/conv/step/PullbackCurve.cpp        2012-01-11 19:04:43 UTC 
(rev 48425)
+++ brlcad/trunk/src/conv/step/PullbackCurve.cpp        2012-01-11 19:19:59 UTC 
(rev 48426)
@@ -1291,7 +1291,6 @@
     const ON_Surface *surf = (*cs)->surftree->getSurface();
     double umin, umax;
     ON_2dPoint *prev = NULL;
-    ON_2dPoint *noprev = NULL;
 
     surf->GetDomain(0, &umin, &umax);
     std::cout << "Umax: " << umax << std::endl;
@@ -1311,8 +1310,6 @@
                    if (NEAR_EQUAL((*samples)[i].x, umax, PBC_TOL)) {
                        if (prev != NULL) {
                            std::cerr << "prev - " << prev->x << ", " << 
prev->y << std::endl;
-                       } else {
-                           noprev = &(*samples)[i];
                        }
                        std::cerr << i << "- " << (*samples)[i].x << ", " << 
(*samples)[i].y << std::endl << std::endl;
                    }
@@ -1323,8 +1320,6 @@
        }
        cs++;
     }
-    //std::cerr << "noprev - " << noprev->x << ", " << noprev->y << std::endl;
-    //std::cerr << "last - " << prev->x << ", " << prev->y << std::endl;
     return true;
 }
 

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


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to