From 82c3ceb70dd97185e9137b915968f128b99bbc45 Mon Sep 17 00:00:00 2001 From: "Iskander (Alex) Sharipov" Date: Fri, 14 Sep 2018 01:42:43 +0100 Subject: [PATCH] remove dead code after log.Fatal call (#371) Found using https://go-critic.github.io/overview#deadCodeAfterLogFatal-ref --- main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/main.go b/main.go index 09e4cb3..fc54aec 100644 --- a/main.go +++ b/main.go @@ -111,7 +111,6 @@ func main() { if err = gorush.InitLog(); err != nil { log.Fatalf("Can't load log module, error: %v", err) - return } // set http proxy for GCM