summaryrefslogtreecommitdiff
path: root/Xprint/pcl/PclPrint.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xprint/pcl/PclPrint.c')
-rw-r--r--Xprint/pcl/PclPrint.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/Xprint/pcl/PclPrint.c b/Xprint/pcl/PclPrint.c
index f21d6c22a..aa2164c92 100644
--- a/Xprint/pcl/PclPrint.c
+++ b/Xprint/pcl/PclPrint.c
@@ -43,7 +43,7 @@ not be used in advertising or otherwise to promote the sale, use or other
dealings in this Software without prior written authorization from said
copyright holders.
*/
-/* $XFree86: xc/programs/Xserver/Xprint/pcl/PclPrint.c,v 1.7 2001/10/28 03:32:55 tsi Exp $ */
+/* $XFree86: xc/programs/Xserver/Xprint/pcl/PclPrint.c,v 1.8 2003/10/29 22:11:00 tsi Exp $ */
#include <stdio.h>
#include <string.h>
@@ -137,7 +137,6 @@ PclEndJob(
int retVal;
char *fileName, *trailer;
struct stat statBuf;
- int n;
PclPaletteMapPtr p;
trailer = "\033%-12345X@PJL RESET\n";
@@ -199,14 +198,14 @@ PclEndJob(
* purposes.
*/
rewind( priv->pJobFile );
- n = stat( priv->jobFileName, &statBuf );
+ stat( priv->jobFileName, &statBuf );
#ifdef CCP_DEBUG
unlink( "/users/prince/XpOutput" );
xpoutput = fopen( "/users/prince/XpOutput", "w" );
rewind( priv->pJobFile );
- n = TransferBytes( priv->pJobFile, xpoutput,
+ TransferBytes( priv->pJobFile, xpoutput,
(int)statBuf.st_size );
fclose( xpoutput );
#endif