refactor(lns): remove redundant catalog nil branches
Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
parent
31bc47c4bb
commit
fdd4cb0390
1 changed files with 0 additions and 8 deletions
8
lns.go
8
lns.go
|
|
@ -1326,19 +1326,11 @@ func (s *Service) Core() *core.Core {
|
|||
|
||||
// reservedCatalog returns the package-backed reserved-name catalog.
|
||||
func (s *Service) reservedCatalog() *covenant.ReservedCatalog {
|
||||
if s == nil {
|
||||
return Reserved
|
||||
}
|
||||
|
||||
return Reserved
|
||||
}
|
||||
|
||||
// lockedCatalog returns the package-backed locked-name catalog.
|
||||
func (s *Service) lockedCatalog() *covenant.LockedCatalog {
|
||||
if s == nil {
|
||||
return Locked
|
||||
}
|
||||
|
||||
return Locked
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue