summaryrefslogtreecommitdiff
path: root/source/fitz/path.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/path.c')
-rw-r--r--source/fitz/path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/path.c b/source/fitz/path.c
index 3befcf23..8fef2a32 100644
--- a/source/fitz/path.c
+++ b/source/fitz/path.c
@@ -1547,7 +1547,7 @@ fz_clone_path(fz_context *ctx, fz_path *path)
assert(ctx != NULL);
- if (ctx == NULL || path == NULL)
+ if (path == NULL)
return NULL;
new_path = fz_malloc_struct(ctx, fz_path);