Revision: 45907
          http://brlcad.svn.sourceforge.net/brlcad/?rev=45907&view=rev
Author:   brlcad
Date:     2011-08-10 20:19:45 +0000 (Wed, 10 Aug 2011)

Log Message:
-----------
similarly wrong to check them for validity when we're supposed to fill them in

Modified Paths:
--------------
    brlcad/trunk/src/librt/primitives/sketch/sketch.c

Modified: brlcad/trunk/src/librt/primitives/sketch/sketch.c
===================================================================
--- brlcad/trunk/src/librt/primitives/sketch/sketch.c   2011-08-10 20:13:17 UTC 
(rev 45906)
+++ brlcad/trunk/src/librt/primitives/sketch/sketch.c   2011-08-10 20:19:45 UTC 
(rev 45907)
@@ -942,10 +942,8 @@
  * 0 OK.  *r points to nmgregion that holds this tessellation.
  */
 int
-rt_sketch_tess(struct nmgregion **r, struct model *m, struct rt_db_internal 
*ip, const struct rt_tess_tol *UNUSED(ttol), const struct bn_tol *UNUSED(tol))
+rt_sketch_tess(struct nmgregion **UNUSED(r), struct model *UNUSED(m), struct 
rt_db_internal *ip, const struct rt_tess_tol *UNUSED(ttol), const struct bn_tol 
*UNUSED(tol))
 {
-    if (r) NMG_CK_REGION(*r);
-    if (m) NMG_CK_MODEL(m);
     if (ip) RT_CK_DB_INTERNAL(ip);
 
     return -1;


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

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to