diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-10-14 20:54:18 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-10-14 20:54:18 +0000 |
commit | c69e75220da584284b58783e4c7a9e520776fc75 (patch) | |
tree | d209024f4e02d4099c160969716061097e28d092 /utils | |
parent | bdbffb7aa68c5f42c534316f9e74e672d6a29930 (diff) | |
download | netsurf-c69e75220da584284b58783e4c7a9e520776fc75.tar.gz netsurf-c69e75220da584284b58783e4c7a9e520776fc75.tar.bz2 |
Remove unused variable.
svn path=/trunk/netsurf/; revision=13048
Diffstat (limited to 'utils')
-rw-r--r-- | utils/nsurl.c | 5 |
1 files changed, 0 insertions, 5 deletions
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 */ |