Skip to content

Commit

Permalink
remove unused result variable
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpmartinez committed Aug 15, 2024
1 parent 61ea2c6 commit 9ccb0a0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ca_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,6 @@ func (self *CaPool) GetChain(cert *x509.Certificate, additionalCerts ...*x509.Ce
return nil
}

var result []*x509.Certificate
result = append(result, cert)

chainCandidates := self.allCasAsMap()

for _, curCert := range additionalCerts {
Expand Down

0 comments on commit 9ccb0a0

Please sign in to comment.