diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2009-06-22 23:01:52 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@hotmail.com> | 2009-06-22 23:01:52 +0200 |
commit | fd06a9147934cfaa90bccf4d5a61bcfc32983dd5 (patch) | |
tree | 0698296483e089d4adee3d2a6d088aecb0ea7062 /apps | |
parent | 3aa295a486bd8f335bb29fb4d765f8430ecd2b8e (diff) | |
download | mupdf-fd06a9147934cfaa90bccf4d5a61bcfc32983dd5.tar.xz |
Properly initialize variables in pdfextract.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/pdfextract.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) |