summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;