Revision: 53403
          http://brlcad.svn.sourceforge.net/brlcad/?rev=53403&view=rev
Author:   starseeker
Date:     2012-10-31 17:46:32 +0000 (Wed, 31 Oct 2012)
Log Message:
-----------
Initialize some variables.

Modified Paths:
--------------
    brlcad/trunk/src/rt/read-rtlog.c

Modified: brlcad/trunk/src/rt/read-rtlog.c
===================================================================
--- brlcad/trunk/src/rt/read-rtlog.c    2012-10-30 15:21:27 UTC (rev 53402)
+++ brlcad/trunk/src/rt/read-rtlog.c    2012-10-31 17:46:32 UTC (rev 53403)
@@ -55,11 +55,11 @@
 read_rt_file(FILE *infp, char *name, fastf_t *model2view)
 {
     FILE *fp;
-    fastf_t azimuth;           /* part of the view */
-    fastf_t elevation;         /* part of the view */
+    fastf_t azimuth = 0.0;     /* part of the view */
+    fastf_t elevation = 0.0;   /* part of the view */
     quat_t orientation;                /* orientation */
-    point_t eye_pos;
-    fastf_t m_size;            /* size of model in mm */
+    point_t eye_pos = VINIT_ZERO;
+    fastf_t m_size = 0.0;      /* size of model in mm */
     char *ret;                 /* return code for fgets */
     char string[BUFF_LEN];     /* temporary buffer */
     char *arg_ptr;             /* place holder */

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


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to