From 35fccb0068e8d73d1e6a16aefdc771506e620f83 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 8 Jun 2006 10:40:24 -0700 Subject: [PATCH] remove some compiler warnings in Xprint/ps/PsText.c Note that one of the existing warnings is pointing out a real bug (uninitialized use for fontPage in PsPolyText16()) if anyone really cares about this code. --- Xprint/ps/PsText.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Xprint/ps/PsText.c b/Xprint/ps/PsText.c index 228e407dc..37463ba1a 100644 --- a/Xprint/ps/PsText.c +++ b/Xprint/ps/PsText.c @@ -329,11 +329,7 @@ PsPolyText16( { PsOutPtr psOut; ColormapPtr cMap; - unsigned short c, - c_hiByte, - c_lowByte, - fontPage; - int i; + unsigned short fontPage; if( PsUpdateDrawableGC(pGC, pDrawable, &psOut, &cMap)==FALSE ) return x;