summaryrefslogtreecommitdiff
path: root/fitz
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2009-08-23 16:18:17 +0200
committerTor Andersson <tor@ghostscript.com>2009-08-23 16:18:17 +0200
commitda98a190ab57f00268e3ebd11df20aa68bad2dd4 (patch)
tree1c450a5892b6c0594d7ddbc94ae61f128a501483 /fitz
parentaf963fc6867a6fe95cf42bb43e5067fbb52395ae (diff)
downloadmupdf-da98a190ab57f00268e3ebd11df20aa68bad2dd4.tar.xz
Removing warning when creating empty paths since this is a very common occurrence.
Diffstat (limited to 'fitz')
-rw-r--r--fitz/node_path.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fitz/node_path.c b/fitz/node_path.c
index 1d0e7bf9..843184d0 100644
--- a/fitz/node_path.c
+++ b/fitz/node_path.c
@@ -157,9 +157,6 @@ fz_closepath(fz_pathnode *path)
fz_error
fz_endpath(fz_pathnode *path, fz_pathkind paint, fz_stroke *stroke, fz_dash *dash)
{
- if (path->len == 0)
- fz_warn("creating an empty path");
-
path->paint = paint;
path->dash = dash;
if (stroke)