|
From: <and...@us...> - 2011-12-08 22:57:17
|
Revision: 12106
http://plplot.svn.sourceforge.net/plplot/?rev=12106&view=rev
Author: andrewross
Date: 2011-12-08 22:57:11 +0000 (Thu, 08 Dec 2011)
Log Message:
-----------
Comment out code which set but never used variables. I've not deleted it as this is still a work in progress and the code might be required at a later stage.
Modified Paths:
--------------
trunk/src/pllegend.c
Modified: trunk/src/pllegend.c
===================================================================
--- trunk/src/pllegend.c 2011-12-08 20:56:36 UTC (rev 12105)
+++ trunk/src/pllegend.c 2011-12-08 22:57:11 UTC (rev 12106)
@@ -572,7 +572,8 @@
legend_width, legend_height, legend_width_ac, legend_height_ac;
PLFLT x_legend_position, y_legend_position, xsign, ysign;
- PLINT some_boxes = 0, some_lines = 0, some_symbols = 0;
+ //PLINT some_boxes = 0, some_lines = 0;
+ PLINT some_symbols = 0;
PLINT max_symbol_numbers = 0;
PLINT irow = 0, icolumn = 0;
@@ -658,10 +659,10 @@
for ( i = 0; i < nlegend; i++ )
{
- if ( opt_array[i] & PL_LEGEND_COLOR_BOX )
- some_boxes = 1;
- if ( opt_array[i] & PL_LEGEND_LINE )
- some_lines = 1;
+ //if ( opt_array[i] & PL_LEGEND_COLOR_BOX )
+ // some_boxes = 1;
+ //if ( opt_array[i] & PL_LEGEND_LINE )
+ // some_lines = 1;
if ( opt_array[i] & PL_LEGEND_SYMBOL )
{
max_symbol_numbers = MAX( max_symbol_numbers, symbol_numbers[i] );
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|