vulnsrc_rhel: minor changes

delete a useless line
This commit is contained in:
Grégoire Unbekandt 2017-12-22 11:23:58 +01:00 committed by Grégoire Unbekandt
parent 4e4e98f328
commit 8b3338ef56

View File

@ -213,7 +213,6 @@ func parseRHSA(ovalReader io.Reader) (vulnerabilities []database.VulnerabilityWi
// Only RHSA is present
if len(definition.References) == 1 {
vulnerability.Link = definition.References[0].URI
vulnerabilities = append(vulnerabilities, vulnerability)
} else {
for _, reference := range definition.References[1:] {