Revision: 42168
http://brlcad.svn.sourceforge.net/brlcad/?rev=42168&view=rev
Author: brlcad
Date: 2011-01-12 19:47:23 +0000 (Wed, 12 Jan 2011)
Log Message:
-----------
fill empty first, since gcc doesn't know the power of bu_exit().
Modified Paths:
--------------
brlcad/trunk/src/fb/polar-fb.c
Modified: brlcad/trunk/src/fb/polar-fb.c
===================================================================
--- brlcad/trunk/src/fb/polar-fb.c 2011-01-12 19:44:40 UTC (rev 42167)
+++ brlcad/trunk/src/fb/polar-fb.c 2011-01-12 19:47:23 UTC (rev 42168)
@@ -368,13 +368,13 @@
int merge = 0; /* Overlay data on current contents FB? */
int NoWarnings = 0; /* Abort if any irregular input? */
int perimeter = 0; /* Plot perimeter of function? */
- char *FB_Name; /* Name of frame-buffer file */
- char *FileName; /* Name of input file */
- char *Opt; /* Used in parsing command-line options */
- double angle_cvt; /* Factor to convert input units to radians */
- double arc_max = 360.0;/* Greatest value of theta to plot */
+ char *Opt = NULL; /* Used in parsing command-line options */
+ char *FB_Name = NULL; /* Name of frame-buffer file */
+ char *FileName = NULL; /* Name of input file */
+ double angle_cvt = 0.0; /* Factor to convert input units to radians */
+ double arc_max = 360.0; /* Greatest value of theta to plot */
double arc_min = 0.0; /* Least " " " " " */
- double npf_rho; /* Current entry in npf_tbl */
+ double npf_rho = 0.0; /* Current entry in npf_tbl */
double npf_tbl[360]; /* The function (in (theta, rho) pairs) */
double rho, theta; /* Polar coordinates of current pixel */
double twist = 0.0; /* Clockwise rotation of image (in degrees) */
@@ -397,7 +397,7 @@
unsigned char *fbb; /* Buffer for current line of frame
buffer */
unsigned char *fbbPtr; /* Pointer to within fbb */
- void (*Fill_Func)();
+ void (*Fill_Func)() = Fill_Empty;
/* Initialize things */
ProgName = *argv;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits