Merge pull request #12274 from brahmaroutu/fix_gccgo_compilation

Unwanted declaration causing compilation issues with gccgo
This commit is contained in:
Brian Goff 2015-04-10 20:22:45 -04:00
commit 418195a4fb
1 changed files with 0 additions and 2 deletions

View File

@ -18,9 +18,7 @@ func TestShutdownEmpty(t *testing.T) {
func TestShutdownAfterRun(t *testing.T) { func TestShutdownAfterRun(t *testing.T) {
eng := New() eng := New()
var called bool
eng.Register("foo", func(job *Job) error { eng.Register("foo", func(job *Job) error {
called = true
return nil return nil
}) })
if err := eng.Job("foo").Run(); err != nil { if err := eng.Job("foo").Run(); err != nil {