From 9602c653a7629b9ff160328037b541bc586f312f Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Sun, 17 Jan 2021 23:08:14 +0100 Subject: [PATCH] fix lint --- pkg/base/url.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pkg/base/url.go b/pkg/base/url.go index f254504a..a2172ff1 100644 --- a/pkg/base/url.go +++ b/pkg/base/url.go @@ -5,15 +5,6 @@ import ( "net/url" ) -func stringsReverseIndexByte(s string, c byte) int { - for i := len(s) - 1; i >= 0; i-- { - if s[i] == c { - return i - } - } - return -1 -} - // URL is a RTSP URL. // This is basically an HTTP URL with some additional functions to handle // control attributes.