From: <and...@us...> - 2011-12-02 13:31:08
|
Revision: 12092 http://plplot.svn.sourceforge.net/plplot/?rev=12092&view=rev Author: andrewross Date: 2011-12-02 13:31:01 +0000 (Fri, 02 Dec 2011) Log Message: ----------- Remove some more unused variables. Modified Paths: -------------- trunk/drivers/cairo.c trunk/drivers/svg.c trunk/src/plstdio.c Modified: trunk/drivers/cairo.c =================================================================== --- trunk/drivers/cairo.c 2011-12-02 13:21:14 UTC (rev 12091) +++ trunk/drivers/cairo.c 2011-12-02 13:31:01 UTC (rev 12092) @@ -522,10 +522,7 @@ void plD_esc_cairo( PLStream *pls, PLINT op, void *ptr ) { - PLCairo *aStream; - aStream = (PLCairo *) pls->dev; - switch ( op ) { case PLESC_FILL: // filled polygon @@ -2030,7 +2027,7 @@ void xcairo_get_cursor( PLStream *pls, PLGraphicsIn *gin ) { - int number_chars; + //int number_chars; const char *ksname; char str[257]; KeySym keysym; @@ -2065,7 +2062,7 @@ // Get key pressed (if any) if ( event.type == KeyPress || event.type == KeyRelease ) { - number_chars = XLookupString( (XKeyEvent *) &event, str, 100, &keysym, NULL ); + //number_chars = XLookupString( (XKeyEvent *) &event, str, 100, &keysym, NULL ); if ( keysym == NoSymbol ) ksname = "NoSymbol"; else if ( !( ksname = XKeysymToString( keysym ) ) ) Modified: trunk/drivers/svg.c =================================================================== --- trunk/drivers/svg.c 2011-12-02 13:21:14 UTC (rev 12091) +++ trunk/drivers/svg.c 2011-12-02 13:31:01 UTC (rev 12092) @@ -354,9 +354,6 @@ void plD_tidy_svg( PLStream *pls ) { - SVG *aStream; - - aStream = pls->dev; if ( svg_family_check( pls ) ) { return; Modified: trunk/src/plstdio.c =================================================================== --- trunk/src/plstdio.c 2011-12-02 13:21:14 UTC (rev 12091) +++ trunk/src/plstdio.c 2011-12-02 13:31:01 UTC (rev 12092) @@ -53,8 +53,6 @@ void plio_fwrite( void *buf, size_t size, size_t nmemb, FILE *stream ) { - size_t bytes; - dbug_enter( "plio_fwrite" ); // Exit if there is nothing to write @@ -64,7 +62,7 @@ // Clear the error flag for this steam clearerr( stream ); - bytes = fwrite( buf, size, nmemb, stream ); + fwrite( buf, size, nmemb, stream ); if ( ferror( stream ) ) { @@ -85,8 +83,6 @@ void plio_fread( void *buf, size_t size, size_t nmemb, FILE *stream ) { - size_t bytes; - dbug_enter( "plio_fread" ); // If the buffer has a size of zero, we should complain @@ -99,7 +95,7 @@ // Clear the error flag for this steam clearerr( stream ); - bytes = fread( buf, size, nmemb, stream ); + fread( buf, size, nmemb, stream ); if ( ferror( stream ) ) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |