summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-05-23 15:28:57 +0100
committerRobin Watts <robin.watts@artifex.com>2016-05-24 12:48:42 +0100
commit3d5c48dbc90fb91d481a146a17170cd180e0db70 (patch)
treedbbb1aaba2c5b897e7b42a4ce6afb112bb12cb9a /source
parentc80baca351290fc353a8fc659f635d395e4e9a91 (diff)
downloadmupdf-3d5c48dbc90fb91d481a146a17170cd180e0db70.tar.xz
Silence "Variable might be used uninitialised" warning.
Diffstat (limited to 'source')
-rw-r--r--source/fitz/path.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/fitz/path.c b/source/fitz/path.c
index f99cb650..0fce853b 100644
--- a/source/fitz/path.c
+++ b/source/fitz/path.c
@@ -541,6 +541,7 @@ fz_closepath(fz_context *ctx, fz_path *path)
case FZ_QUADTOCLOSE:
/* CLOSE following a CLOSE is a NOP */
return;
+ default: /* default never happens */
case 0:
/* Closing an empty path is a NOP */
return;