summaryrefslogtreecommitdiff
path: root/Xprint
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-06-08 10:40:24 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-08 10:40:24 -0700
commit35fccb0068e8d73d1e6a16aefdc771506e620f83 (patch)
tree6f026250196664e689140263ec3f880ccce5f22b /Xprint
parent1ac30947f4a222ba78558eddf8e5f03cec31f613 (diff)
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.
Diffstat (limited to 'Xprint')
-rw-r--r--Xprint/ps/PsText.c6
1 files changed, 1 insertions, 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;