diff options
author | Moritz Poldrack <git@moritz.sh> | 2022-07-30 13:29:46 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-08-04 21:58:00 +0200 |
commit | c882cf9960be691fe55617b87cdfcfbabd5d5557 (patch) | |
tree | 7446d447a9992f8d761692362ebb66b5e12c1edb /lib/ui/tab.go | |
parent | 5ca6022d007bc83daba1e7297480d37f56554455 (diff) | |
download | aerc-c882cf9960be691fe55617b87cdfcfbabd5d5557.tar.gz |
lint: removed unused code (deadcode, structcheck, unused)
Signed-off-by: Moritz Poldrack <moritz@poldrack.dev>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib/ui/tab.go')
-rw-r--r-- | lib/ui/tab.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/ui/tab.go b/lib/ui/tab.go index bcad23c2..0c6b3f5b 100644 --- a/lib/ui/tab.go +++ b/lib/ui/tab.go @@ -20,17 +20,16 @@ type Tabs struct { uiConfig *config.UIConfig - onInvalidateStrip func(d Drawable) + onInvalidateStrip func(d Drawable) //nolint:structcheck // used within this file onInvalidateContent func(d Drawable) - parent *Tabs + parent *Tabs //nolint:structcheck // used within this file CloseTab func(index int) } type Tab struct { Content Drawable Name string - invalid bool pinned bool indexBeforePin int uiConf *config.UIConfig |