From ba6bed3cb1dcdef2fed0e32d686ee340c2c56077 Mon Sep 17 00:00:00 2001 From: bptato Date: Sat, 7 Nov 2020 23:30:53 +0100 Subject: Remove useless loop --- url.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'url.c') 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'); -- cgit v1.2.3