From: Sergey Matveev Date: Thu, 23 Mar 2023 10:02:38 +0000 (+0300) Subject: Unused structure fields X-Git-Tag: v8.8.3^2~11 X-Git-Url: http://www.git.cypherpunks.ru/?p=nncp.git;a=commitdiff_plain;h=5fbec42464ddeefacd99f267c8b7bfe2fa2f428a Unused structure fields --- diff --git a/src/mth.go b/src/mth.go index 92ac47c..655ffb9 100644 --- a/src/mth.go +++ b/src/mth.go @@ -82,9 +82,7 @@ type MTHSeq struct { size int64 prependSize int64 toSkip int64 - skipped bool finished bool - pktName string } func MTHSeqNew(size, offset int64) *MTHSeq { diff --git a/src/progress.go b/src/progress.go index ae04410..c170674 100644 --- a/src/progress.go +++ b/src/progress.go @@ -37,7 +37,6 @@ var progressBarsLock sync.RWMutex type ProgressBar struct { w *uilive.Writer - hash string started time.Time initial int64 full int64