From 9b16d0b2eb8c0e6f041b8592188b1daf58037916 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 19 Jul 2019 14:44:01 +0200 Subject: [PATCH] Remove unused variables These two seem to not be used (any longer). --- ishell.go | 1 - reader.go | 1 - 2 files changed, 2 deletions(-) diff --git a/ishell.go b/ishell.go index f7b8f3d..79aaec9 100644 --- a/ishell.go +++ b/ishell.go @@ -53,7 +53,6 @@ type Shell struct { customCompleter bool multiChoiceActive bool haltChan chan struct{} - historyFile string autoHelp bool rawArgs []string progressBar ProgressBar diff --git a/reader.go b/reader.go index 73c8950..e70a3cd 100644 --- a/reader.go +++ b/reader.go @@ -16,7 +16,6 @@ type ( shellReader struct { scanner *readline.Instance - consumers chan lineString reading bool readingMulti bool buf *bytes.Buffer