Revision: 62122
          http://sourceforge.net/p/brlcad/code/62122
Author:   carlmoore
Date:     2014-08-13 17:24:15 +0000 (Wed, 13 Aug 2014)
Log Message:
-----------
provide some initial values; otherwise, it's possible to use these in 
computation without their having been given values

Modified Paths:
--------------
    brlcad/trunk/src/util/mac-pix.c

Modified: brlcad/trunk/src/util/mac-pix.c
===================================================================
--- brlcad/trunk/src/util/mac-pix.c     2014-08-13 17:06:49 UTC (rev 62121)
+++ brlcad/trunk/src/util/mac-pix.c     2014-08-13 17:24:15 UTC (rev 62122)
@@ -62,16 +62,16 @@
 
 int file_height = MAC_HEIGHT;  /* generally constant */
 int file_width = MAC_WIDTH;
-int file_xoff;
-int file_yoff;
+int file_xoff = 0;
+int file_yoff = 0;
 int scr_width = 1024;  /* If this and scr_height are later found to be zero,
                         * they assume the values of file_width and file_height 
.
                         */
 int scr_height = 1024;
-int scr_xoff;
-int scr_yoff;
+int scr_xoff = 0;
+int scr_yoff = 0;
 
-int bwflag;
+int bwflag = 0;
 char hyphen[] = "-";
 char *file_name;
 FILE *infp;

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