Revision: 65136
          http://sourceforge.net/p/brlcad/code/65136
Author:   carlmoore
Date:     2015-06-01 20:04:07 +0000 (Mon, 01 Jun 2015)
Log Message:
-----------
add 'h' to comment; mv clip_high and clip_low initialization into their 
declarations

Modified Paths:
--------------
    brlcad/trunk/src/util/bwmod.c

Modified: brlcad/trunk/src/util/bwmod.c
===================================================================
--- brlcad/trunk/src/util/bwmod.c       2015-06-01 19:45:28 UTC (rev 65135)
+++ brlcad/trunk/src/util/bwmod.c       2015-06-01 20:04:07 UTC (rev 65136)
@@ -139,7 +139,7 @@
                op[ numop ] = TRUNC;
                val[ numop++ ] = atof(bu_optarg);
                break;
-           default:            /* '?' */
+           default:            /* '?' 'h' */
                return 0;
        }
     }
@@ -233,7 +233,7 @@
     unsigned char *p, *q;
     int tmp;
     int n;
-    unsigned long clip_high, clip_low;
+    unsigned long clip_high = 0L , clip_low = 0L ;
 
     setmode(fileno(stdin), O_BINARY);
     setmode(fileno(stdout), O_BINARY);
@@ -252,7 +252,6 @@
     else
        mk_trans_tbl();
 
-    clip_high = clip_low = 0L;
     while ((n=read(0, (void *)ibuf, (unsigned)sizeof(ibuf))) > 0) {
        /* translate */
        for (p = ibuf, q = &ibuf[n]; p < q; ++p) {

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


------------------------------------------------------------------------------
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to