Archived
build: Enable gometalinter "gosimple" check, improve build.go
This commit is contained in:
1 parent
47f22ff3e5
commit
d41c131364
19 files changed
+108
-130
No files matched your search
@@ -37,6 +37,7 @@ func (d *deadlockDetector) Watch(name string, mut sync.Locker) {
|
||||
|
||||
go func() {
|
||||
mut.Lock()
|
||||
_ = 1 // empty critical section
|
||||
mut.Unlock()
|
||||
ok <- true
|
||||
}()
|
||||
|
||||
Reference in new issue
Block a user