summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-06-08 11:09:56 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-08 11:09:56 -0700
commitcf6169f9e99e6e8ab264f284cfa13cb379b36207 (patch)
tree6e62abcb1a6347550428f914cee265b3ad441b8a
parent1abc7f96edf37a1e2c766b9cdba7fc9b2cb06d19 (diff)
fix compiler warnings in Xprint/ps/PsFonts.c
-rw-r--r--Xprint/ps/PsFonts.c4
1 files changed, 1 insertions, 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;