summaryrefslogtreecommitdiff
path: root/xps/xpsmem.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2010-06-22 17:11:52 +0000
committerTor Andersson <tor.andersson@artifex.com>2010-06-22 17:11:52 +0000
commit5560ad0b3bef39e52851f9c0fcd5b8cf1bdc06fc (patch)
tree4f0446cbacd0bf6bc07775d7c23db7a996f13a15 /xps/xpsmem.c
parent94b467a15d17b5f4bf5c9caad18f19694ff5d1c5 (diff)
Add error propagation where it is missing, and remove error returns where they are not used.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11417 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'xps/xpsmem.c')
-rw-r--r--xps/xpsmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xps/xpsmem.c b/xps/xpsmem.c
index 6c7135ddd..b280d4d48 100644
--- a/xps/xpsmem.c
+++ b/xps/xpsmem.c
@@ -110,7 +110,7 @@ xps_strlcat(char *dst, const char *src, size_t siz)
#define SEP(x) ((x)=='/' || (x) == 0)
-char *
+static char *
xps_clean_path(char *name)
{
char *p, *q, *dotdot;