diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-12-28 14:13:31 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-01-09 13:21:40 +0100 |
commit | 1d76658b8a5166edb2e56f206fd125eec4aed050 (patch) | |
tree | e5ab434c5dc47571c5efd1889aff40627d7f5865 /source/xps | |
parent | 6933d36755f90e23308a52c0c3b9c6a4423a9e4c (diff) | |
download | mupdf-1d76658b8a5166edb2e56f206fd125eec4aed050.tar.xz |
Remove some dead code.
Diffstat (limited to 'source/xps')
-rw-r--r-- | source/xps/xps-imp.h | 1 | ||||
-rw-r--r-- | source/xps/xps-util.c | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/source/xps/xps-imp.h b/source/xps/xps-imp.h index 5db36c5f..d783c5c0 100644 --- a/source/xps/xps-imp.h +++ b/source/xps/xps-imp.h @@ -42,7 +42,6 @@ fz_link *xps_load_links(fz_context *ctx, xps_page *page); int xps_strcasecmp(char *a, char *b); void xps_resolve_url(fz_context *ctx, xps_document *doc, char *output, char *base_uri, char *path, int output_size); -int xps_url_is_remote(fz_context *ctx, xps_document *doc, char *path); char *xps_parse_point(fz_context *ctx, xps_document *doc, char *s_in, float *x, float *y); /* diff --git a/source/xps/xps-util.c b/source/xps/xps-util.c index 3c9e149d..63278eb4 100644 --- a/source/xps/xps-util.c +++ b/source/xps/xps-util.c @@ -156,9 +156,3 @@ xps_resolve_url(fz_context *ctx, xps_document *doc, char *output, char *base_uri } clean_path(output); } - -int -xps_url_is_remote(fz_context *ctx, xps_document *doc, char *path) -{ - return path != skip_authority(skip_scheme(path)); -} |