Get rid of an unneeded mutex.
This commit is contained in:
parent
ce54fa1868
commit
c44de7fb69
2 changed files with 1 additions and 5 deletions
2
rules.go
2
rules.go
|
|
@ -7,7 +7,6 @@ package main
|
|||
import (
|
||||
"fmt"
|
||||
"regexp"
|
||||
"sync"
|
||||
"unicode/utf8"
|
||||
)
|
||||
|
||||
|
|
@ -58,7 +57,6 @@ type rule struct {
|
|||
recipe string // recipe source
|
||||
command []string // command attribute
|
||||
ismeta bool // is this a meta rule
|
||||
mutex sync.Mutex // prevent the rule from being executed multiple times
|
||||
file string // file where the rule is defined
|
||||
line int // line number on which the rule is defined
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue