[brlcad-commits] SF.net SVN: brlcad:[43291] brlcad/trunk/src/rt/heatgraph.c
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <tbr...@us...> - 2011-02-14 16:38:35
|
Revision: 43291 http://brlcad.svn.sourceforge.net/brlcad/?rev=43291&view=rev Author: tbrowder2 Date: 2011-02-14 16:38:29 +0000 (Mon, 14 Feb 2011) Log Message: ----------- C90 prohibits mixed declarations and code Modified Paths: -------------- brlcad/trunk/src/rt/heatgraph.c Modified: brlcad/trunk/src/rt/heatgraph.c =================================================================== --- brlcad/trunk/src/rt/heatgraph.c 2011-02-14 16:36:28 UTC (rev 43290) +++ brlcad/trunk/src/rt/heatgraph.c 2011-02-14 16:38:29 UTC (rev 43291) @@ -305,7 +305,9 @@ int Gcolor = 0; int Bcolor = 0; int npix = 0; - + int zoomH = 0; + int zoomW = 0; + /* Now fill out the framebuffer with the Heat Graph information */ for (x = 0; x < maxX; x++) { @@ -338,8 +340,6 @@ } } } - int zoomH = 0; - int zoomW = 0; zoomH = fb_getheight(fbp) / height; zoomW = fb_getwidth(fbp) / width; (void)fb_view(fbp, width/2, height/2, zoomH, zoomW); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |