Revision: 54407
          http://brlcad.svn.sourceforge.net/brlcad/?rev=54407&view=rev
Author:   brlcad
Date:     2013-02-14 18:23:30 +0000 (Thu, 14 Feb 2013)
Log Message:
-----------
halt if there are any arguments.  doesn't match the usage.  remove some unused 
vars too.

Modified Paths:
--------------
    brlcad/trunk/src/proc-db/clutter.c

Modified: brlcad/trunk/src/proc-db/clutter.c
===================================================================
--- brlcad/trunk/src/proc-db/clutter.c  2013-02-14 18:20:41 UTC (rev 54406)
+++ brlcad/trunk/src/proc-db/clutter.c  2013-02-14 18:23:30 UTC (rev 54407)
@@ -38,8 +38,6 @@
 
 #define STRSIZ 64
 
-mat_t identity;
-double degtorad = 0.0174532925199433;
 double sin60;
 
 struct mtab {
@@ -97,8 +95,7 @@
 #define rand_num(p)    (BN_UNIF_DOUBLE(p)+0.5)
 
     if (argc > 0){
-       bu_log("Usage: %s\n", argv[0]);
-       bu_log("(Command proceeds, ignoring all arguments.)\n");
+       bu_exit(1, "Usage: %s\n", argv[0]);
     }
 
     BU_LIST_INIT(&head.l);
@@ -116,7 +113,6 @@
     rgb[0] = 240;      /* gold/brown */
     rgb[1] = 180;
     rgb[2] = 64;
-    MAT_IDN(identity);
 
     mk_region1(outfp, "plane.r", "plane", NULL, NULL, rgb);
 

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


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to