From cf6169f9e99e6e8ab264f284cfa13cb379b36207 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 8 Jun 2006 11:09:56 -0700 Subject: fix compiler warnings in Xprint/ps/PsFonts.c --- Xprint/ps/PsFonts.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Xprint/ps/PsFonts.c b/Xprint/ps/PsFonts.c index 515a31884..c4d5b03e2 100644 --- a/Xprint/ps/PsFonts.c +++ b/Xprint/ps/PsFonts.c @@ -286,9 +286,8 @@ char *getFontFilename(FontPtr pFont) const char *dlfnam; FILE *file; struct stat statb; - int count, i, status; char buf[512]; - char *front, *end, *fn; + char *front, *fn; char font_dir_fname[PATH_MAX], /* Full path of fonts.dir */ font_file_fname[PATH_MAX]; /* Name of font file (excluding path) */ @@ -592,7 +591,6 @@ PsFontTypeInfoRec *PsCreateFontTypeInfoRec(DrawablePtr pDrawable, FontPtr pFont) { char *dlfnam; PsFontTypeInfoRec *rec; - char *psname; if (!(dlfnam = PsGetFontName(pFont))) return NULL; -- cgit v1.2.3