From fd06a9147934cfaa90bccf4d5a61bcfc32983dd5 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Mon, 22 Jun 2009 23:01:52 +0200 Subject: Properly initialize variables in pdfextract. --- apps/pdfextract.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps') diff --git a/apps/pdfextract.c b/apps/pdfextract.c index 0e3d71f4..c9489c89 100644 --- a/apps/pdfextract.c +++ b/apps/pdfextract.c @@ -199,12 +199,12 @@ void savefont(fz_obj *dict, int num, int gen) char name[1024]; char *subtype; fz_buffer *buf; - fz_obj *stream; + fz_obj *stream = nil; fz_obj *obj; - char *ext; + char *ext = ""; FILE *f; unsigned char *p; - char *fontname; + char *fontname = "font"; obj = fz_dictgets(dict, "FontName"); if (obj) -- cgit v1.2.3