From c69e75220da584284b58783e4c7a9e520776fc75 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 14 Oct 2011 20:54:18 +0000 Subject: Remove unused variable. svn path=/trunk/netsurf/; revision=13048 --- utils/nsurl.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'utils/nsurl.c') diff --git a/utils/nsurl.c b/utils/nsurl.c index f2f6e3bfe..ecdfe722b 100644 --- a/utils/nsurl.c +++ b/utils/nsurl.c @@ -1730,7 +1730,6 @@ nserror nsurl_join(const nsurl *base, const char *rel, nsurl **joined) } else if (joined_parts & NSURL_F_MERGED_PATH) { struct url_markers m_path; - size_t path_len; size_t new_length; if (base->host != NULL && base->path == NULL) { @@ -1739,8 +1738,6 @@ nserror nsurl_join(const nsurl *base, const char *rel, nsurl **joined) memcpy(buff_pos, rel + m.path, m.query - m.path); buff_pos += m.query - m.path; - path_len = 1 + m.query - m.path; - } else { /* Append relative path to all but last segment of * base path. */ @@ -1761,8 +1758,6 @@ nserror nsurl_join(const nsurl *base, const char *rel, nsurl **joined) /* Copy the relative part */ memcpy(buff_pos, rel + m.path, m.query - m.path); buff_pos += m.query - m.path; - - path_len = path_end + m.query - m.path; } /* add termination to string */ -- cgit v1.2.3