aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2020-11-07 22:30:53 +0000
committerbptato <nincsnevem662@gmail.com>2020-11-07 22:30:53 +0000
commitba6bed3cb1dcdef2fed0e32d686ee340c2c56077 (patch)
treef8dac2150c376df8139399b0454d9124a2d03f87
parentRemove unnecessary file_unquote call (diff)
downloadw3m-ba6bed3cb1dcdef2fed0e32d686ee340c2c56077.tar.gz
w3m-ba6bed3cb1dcdef2fed0e32d686ee340c2c56077.zip
Remove useless loop
Diffstat (limited to '')
-rw-r--r--url.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/url.c b/url.c
index 1a16c30..aef66ad 100644
--- a/url.c
+++ b/url.c
@@ -1867,11 +1867,6 @@ openURL(char *url, ParsedURL *pu, ParsedURL *current,
} else {
type = '\0';
}
- while(*p != '\0') {
- if(*p == '?')
- *p = '\t';
- ++p;
- }
if(pu->query != NULL) {
tmp = Strnew_charp(pu->file);
Strcat_char(tmp, '\t');