fix(aa): ineffective assignment
This commit is contained in:
parent
ff5ff965cd
commit
228d3b653c
12 changed files with 39 additions and 20 deletions
|
|
@ -26,7 +26,8 @@ func (r *All) Compare(other Rule) int {
|
|||
|
||||
func (r *All) Merge(other Rule) bool {
|
||||
o, _ := other.(*All)
|
||||
return r.RuleBase.merge(o.RuleBase)
|
||||
b := &r.RuleBase
|
||||
return b.merge(o.RuleBase)
|
||||
}
|
||||
|
||||
func (r *All) String() string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue