From 87d9653ec23c2e42a81e9dbf765044dc54efc056 Mon Sep 17 00:00:00 2001 From: livingentity <84099642+livingentity@users.noreply.github.com> Date: Mon, 7 Mar 2022 17:01:18 +0100 Subject: [PATCH] Remove unused functions (#2057) They aren't used anywhere. --- dnscrypt-proxy/common.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/dnscrypt-proxy/common.go b/dnscrypt-proxy/common.go index b1ab7186..18ee350e 100644 --- a/dnscrypt-proxy/common.go +++ b/dnscrypt-proxy/common.go @@ -101,20 +101,6 @@ func Max(a, b int) int { return b } -func MinF(a, b float64) float64 { - if a < b { - return a - } - return b -} - -func MaxF(a, b float64) float64 { - if a > b { - return a - } - return b -} - func StringReverse(s string) string { r := []rune(s) for i, j := 0, len(r)-1; i < len(r)/2; i, j = i+1, j-1 {