Skip to content

Commit 4b17d3e

Browse files
Merge pull request #322 from cargoedit/master
chore: remove unused min func
2 parents 2fe84c1 + ee2e523 commit 4b17d3e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

opensca/sca/java/xml/typeinfo.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -257,13 +257,6 @@ func lookupXMLName(typ reflect.Type) (xmlname *fieldInfo) {
257257
return nil
258258
}
259259

260-
func min(a, b int) int {
261-
if a <= b {
262-
return a
263-
}
264-
return b
265-
}
266-
267260
// addFieldInfo adds finfo to tinfo.fields if there are no
268261
// conflicts, or if conflicts arise from previous fields that were
269262
// obtained from deeper embedded structures than finfo. In the latter

0 commit comments

Comments
 (0)