From 2f1f352342e8e707beabd8d0c180887182e28c9a Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Thu, 20 Aug 2020 20:22:48 +0200 Subject: [feat] reset notification --- pkg/backend/init.go | 7 ------- 1 file changed, 7 deletions(-) (limited to 'pkg/backend/init.go') diff --git a/pkg/backend/init.go b/pkg/backend/init.go index af43bab..be4427a 100644 --- a/pkg/backend/init.go +++ b/pkg/backend/init.go @@ -40,13 +40,6 @@ func checkErrors(errCh chan string) { } } -func resetErrors(errname string) { - if ctx.Errors == errname { - ctx.Errors = "" - log.Println("DEBUG: reset error", errname) - } -} - func initializeBitmask(errCh chan string, opts *InitOpts) { if ctx == nil { log.Println("bug: cannot initialize bitmask, ctx is nil!") -- cgit v1.2.3