From 73d08528ea9b043cbe941b1219b1c55625c636a8 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 10 Apr 2015 18:00:33 +0000 Subject: [PATCH] Unwanted declaration causing compilation issues with gccgo Signed-off-by: Srini Brahmaroutu --- engine/shutdown_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/engine/shutdown_test.go b/engine/shutdown_test.go index cde177e398..d2ef0339de 100644 --- a/engine/shutdown_test.go +++ b/engine/shutdown_test.go @@ -18,9 +18,7 @@ func TestShutdownEmpty(t *testing.T) { func TestShutdownAfterRun(t *testing.T) { eng := New() - var called bool eng.Register("foo", func(job *Job) error { - called = true return nil }) if err := eng.Job("foo").Run(); err != nil {