summaryrefslogtreecommitdiff
path: root/fitz
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-02-19 17:29:36 +0100
committerRobin Watts <robin.watts@artifex.com>2013-02-20 13:50:40 +0000
commit40997a6e6cb6c41ea337354ba4ecc3831ce0dcb7 (patch)
tree754ff984bc7e3934e4d40ef3e77dc009e287e224 /fitz
parent45bc650f98a70f3ee5fa8cb77ace6acef39d3b50 (diff)
downloadmupdf-40997a6e6cb6c41ea337354ba4ecc3831ce0dcb7.tar.xz
Bug 693639: fix warnings.
Thanks to zeniko.
Diffstat (limited to 'fitz')
-rw-r--r--fitz/image_jpeg.c1
-rw-r--r--fitz/res_font.c4
2 files changed, 0 insertions, 5 deletions
diff --git a/fitz/image_jpeg.c b/fitz/image_jpeg.c
index e8fe72ee..e66f3d8d 100644
--- a/fitz/image_jpeg.c
+++ b/fitz/image_jpeg.c
@@ -1,7 +1,6 @@
#include "fitz-internal.h"
#include <jpeglib.h>
-#include <setjmp.h>
static void error_exit(j_common_ptr cinfo)
{
diff --git a/fitz/res_font.c b/fitz/res_font.c
index cef70d55..a09c507b 100644
--- a/fitz/res_font.c
+++ b/fitz/res_font.c
@@ -1046,11 +1046,7 @@ fz_path *
fz_outline_glyph(fz_context *ctx, fz_font *font, int gid, const fz_matrix *ctm)
{
if (!font->ft_face)
- {
- fz_warn(ctx, "cannot convert type3 glyph to path");
return NULL;
- }
-
return fz_outline_ft_glyph(ctx, font, gid, ctm);
}