diff --git a/webdav/internal/xml/typeinfo.go b/webdav/internal/xml/typeinfo.go index fdde288b..45cdfbb3 100644 --- a/webdav/internal/xml/typeinfo.go +++ b/webdav/internal/xml/typeinfo.go @@ -258,13 +258,6 @@ func lookupXMLName(typ reflect.Type) (xmlname *fieldInfo) { return nil } -func min(a, b int) int { - if a <= b { - return a - } - return b -} - // addFieldInfo adds finfo to tinfo.fields if there are no // conflicts, or if conflicts arise from previous fields that were // obtained from deeper embedded structures than finfo. In the latter