mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools/fast: remove unused function
This commit is contained in:
parent
137a473bb7
commit
4498dc6a47
@ -44,9 +44,6 @@
|
||||
function int(src) {
|
||||
return src - 0;
|
||||
}
|
||||
function str(src) {
|
||||
return src + "";
|
||||
}
|
||||
function getClassName(x) {
|
||||
if (x == 0)
|
||||
return "equal";
|
||||
|
@ -121,8 +121,7 @@ pub fn (req &Request) do() ?Response {
|
||||
return error('http.request.do: invalid URL "$req.url"')
|
||||
}
|
||||
mut rurl := url
|
||||
mut resp := Response{
|
||||
}
|
||||
mut resp := Response{}
|
||||
mut no_redirects := 0
|
||||
for {
|
||||
if no_redirects == max_redirects {
|
||||
@ -252,4 +251,3 @@ pub fn escape(s string) string {
|
||||
}
|
||||
|
||||
type wsfn fn(s string, ptr voidptr)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user