summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-05-19 15:43:23 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-05-19 15:43:23 +0000
commit063acf016081ae9c2b096595564f0399f6ea19b5 (patch)
tree1a59ea9ddbaeb1ea4fa6d16387678d6b9129e6b9 /src
parent9c8092eda6e1e63d28dc4299353cf1a8c30b0aa5 (diff)
Fixed warnings
Diffstat (limited to 'src')
-rw-r--r--src/htsname.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/htsname.c b/src/htsname.c
index 44fd6fd..c0fd162 100644
--- a/src/htsname.c
+++ b/src/htsname.c
@@ -1405,7 +1405,6 @@ int url_savename(char *adr_complete, char *fil_complete, char *save,
if (hts_stringLengthUTF8(save) +
hts_stringLengthUTF8(StringBuff(opt->path_html_utf8)) >=
HTS_MAX_PATH_LEN) {
- char BIGSTK tempo[HTS_URLMAXSIZE * 2];
const size_t parentLen =
hts_stringLengthUTF8(StringBuff(opt->path_html_utf8));
// parent path length is not insane (otherwise, ignore and pick 200 as suffix length)
@@ -1422,7 +1421,6 @@ int url_savename(char *adr_complete, char *fil_complete, char *save,
}
// add as much pathes as we can
for(i = 0, sofar = 0; i < lastSeg && i + MIN_LAST_SEG_RESERVE < maxLen; i++) {
- tempo[i] = save[i];
if (save[i] == '/') {
// validate segment so far
sofar = i + 1;