mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-06 04:20:11 +00:00
removed dead code
This commit is contained in:
@@ -751,14 +751,10 @@ func ConvertComponentIdIntoFriendlyPathSearch(id string) (string, string) {
|
||||
if intVal <= 99 {
|
||||
if len(cleaned) > 0 {
|
||||
appendSegment(&sb, segs, cleaned, i, false)
|
||||
} else {
|
||||
cleaned = append(cleaned, segs[i])
|
||||
}
|
||||
} else {
|
||||
if len(cleaned) > 0 {
|
||||
appendSegment(&sb, segs, cleaned, i, true)
|
||||
} else {
|
||||
cleaned = append(cleaned, segs[i])
|
||||
}
|
||||
}
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user