Revision: 56510
          http://sourceforge.net/p/brlcad/code/56510
Author:   brlcad
Date:     2013-08-04 17:31:51 +0000 (Sun, 04 Aug 2013)
Log Message:
-----------
remove dead code

Modified Paths:
--------------
    brlcad/trunk/src/conv/g-dot.c
    brlcad/trunk/src/conv/ply-g.c

Modified: brlcad/trunk/src/conv/g-dot.c
===================================================================
--- brlcad/trunk/src/conv/g-dot.c       2013-08-04 17:29:54 UTC (rev 56509)
+++ brlcad/trunk/src/conv/g-dot.c       2013-08-04 17:31:51 UTC (rev 56510)
@@ -167,33 +167,7 @@
 
     fprintf(outfp, "\ndigraph \"BRL-CAD\" {\n");
 
-#if 1
     fprintf(outfp, "\tlabel=%s\n", bu_vls_encode(&vp, label));
-#else
-    /* starting with empty vls */
-    fprintf(outfp, "\tBEFORE(1): [%s]\n", bu_vls_addr(&vp));
-
-    /* add a chunk */
-    bu_vls_printf(&vp, "test1");
-
-    /* show it */
-    fprintf(outfp, "\tBEFORE(2): [%s]\n", bu_vls_addr(&vp));
-
-    fprintf(outfp, "\tlabel=[%s]\n", bu_vls_encode(&vp, label));
-
-    bu_vls_printf(&vp, "test2");
-    fprintf(outfp, "\tBEFORE(3): [%s]\n", bu_vls_addr(&vp));
-
-    /* FIXME: investigate bu_vls_dcode */
-    /*
-    fprintf(outfp, "\tAFTER(1): [%s]\n", bu_vls_decode(&vp, bu_vls_addr(&vp)));
-    */
-
-    bu_vls_printf(&vp, "test3");
-    fprintf(outfp, "\tAFTER(2): [%s]\n", bu_vls_addr(&vp));
-    bu_vls_free(&vp);
-#endif
-
     fprintf(outfp, "\tgraph [ rankdir=LR ];\n");
     fprintf(outfp, "\tnode [ style=filled ];\n");
     fprintf(outfp, "\tnode [ shape=box ];\n"); /* try Mrecord */

Modified: brlcad/trunk/src/conv/ply-g.c
===================================================================
--- brlcad/trunk/src/conv/ply-g.c       2013-08-04 17:29:54 UTC (rev 56509)
+++ brlcad/trunk/src/conv/ply-g.c       2013-08-04 17:31:51 UTC (rev 56510)
@@ -297,12 +297,8 @@
                    buf2[0] = buf1[0];
                    break;
                case 2:
-#if 1
                    buf2[0] = buf1[1];
                    buf2[1] = buf1[0];
-#else
-                   swab( buf1, buf2, 2 );
-#endif
                    break;
                case 4:
                    lswap4( (unsigned int *)buf1, (unsigned int *)buf2 );
@@ -398,12 +394,8 @@
                    buf2[0] = buf1[0];
                    break;
                case 2:
-#if 1
                    buf2[0] = buf1[1];
                    buf2[1] = buf1[0];
-#else
-                   swab( buf1, buf2, 2 );
-#endif
                    break;
                case 4:
                    lswap4( (unsigned int *)buf1, (unsigned int *)buf2 );

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


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to