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.
This commit is contained in:
Greg Kroah-Hartman 2006-06-08 10:40:24 -07:00
parent 1ac30947f4
commit 35fccb0068

View File

@ -329,11 +329,7 @@ PsPolyText16(
{ {
PsOutPtr psOut; PsOutPtr psOut;
ColormapPtr cMap; ColormapPtr cMap;
unsigned short c, unsigned short fontPage;
c_hiByte,
c_lowByte,
fontPage;
int i;
if( PsUpdateDrawableGC(pGC, pDrawable, &psOut, &cMap)==FALSE ) if( PsUpdateDrawableGC(pGC, pDrawable, &psOut, &cMap)==FALSE )
return x; return x;