]> Cypherpunks.ru repositories - nncp.git/commitdiff
Unused structure fields
authorSergey Matveev <stargrave@stargrave.org>
Thu, 23 Mar 2023 10:02:38 +0000 (13:02 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 23 Mar 2023 10:02:38 +0000 (13:02 +0300)
src/mth.go
src/progress.go

index 92ac47c11829337feb7b7b82155ad2141c4af255..655ffb97d7bdece50a512b3b0748e547e78b729f 100644 (file)
@@ -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 {
index ae0441041d63db31c687ea195ef0fce9da7dcc6b..c170674334a0fff1fc2e30b9f78d75a92f9ea146 100644 (file)
@@ -37,7 +37,6 @@ var progressBarsLock sync.RWMutex
 
 type ProgressBar struct {
        w       *uilive.Writer
-       hash    string
        started time.Time
        initial int64
        full    int64