summaryrefslogtreecommitdiff
path: root/source/fitz/memory.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-05-07 16:46:16 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-05-16 12:48:07 +0200
commitf4cb197ad36f5ea3ab834abb41d2641daf152622 (patch)
treee5d7222f7ffb1308c1d060c367f363723151b739 /source/fitz/memory.c
parentb4e9bdcd4daa09e27e112979750d1f85e3c5496e (diff)
downloadmupdf-f4cb197ad36f5ea3ab834abb41d2641daf152622.tar.xz
Purge unused functions.
Diffstat (limited to 'source/fitz/memory.c')
-rw-r--r--source/fitz/memory.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/fitz/memory.c b/source/fitz/memory.c
index ad5b69aa..09df7cda 100644
--- a/source/fitz/memory.c
+++ b/source/fitz/memory.c
@@ -212,16 +212,6 @@ fz_strdup(fz_context *ctx, const char *s)
return ns;
}
-char *
-fz_strdup_no_throw(fz_context *ctx, const char *s)
-{
- size_t len = strlen(s) + 1;
- char *ns = fz_malloc_no_throw(ctx, len);
- if (ns)
- memcpy(ns, s, len);
- return ns;
-}
-
static void *
fz_malloc_default(void *opaque, size_t size)
{