Skip to content

Commit

Permalink
fix some lints
Browse files Browse the repository at this point in the history
  • Loading branch information
evanw committed Feb 18, 2024
1 parent ad3d8c6 commit d086889
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/css_parser/css_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -586,10 +586,6 @@ func (p *parser) parseListOfDeclarations(opts listOfDeclarationsOpts) (list []cs
}

func (p *parser) mangleRules(rules []css_ast.Rule, isTopLevel bool) []css_ast.Rule {
type hashEntry struct {
indices []uint32
}

// Remove empty rules
mangledRules := make([]css_ast.Rule, 0, len(rules))
var prevNonComment css_ast.R
Expand Down Expand Up @@ -728,7 +724,6 @@ type callEntry struct {
}

type DuplicateRuleRemover struct {
symbols ast.SymbolMap
entries map[uint32]hashEntry
calls []callEntry
check css_ast.CrossFileEqualityCheck
Expand Down

0 comments on commit d086889

Please sign in to comment.