Skip to content

Commit

Permalink
Merge pull request restic#5228 from greatroar/cleanup
Browse files Browse the repository at this point in the history
ui/termstatus: Remove unused bytes.Buffer
  • Loading branch information
MichaelEischer authored Feb 1, 2025
2 parents 9c8c59c + c1781e0 commit 72b343f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/ui/termstatus/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package termstatus

import (
"bufio"
"bytes"
"context"
"fmt"
"io"
Expand All @@ -22,7 +21,6 @@ type Terminal struct {
wr *bufio.Writer
fd uintptr
errWriter io.Writer
buf *bytes.Buffer
msg chan message
status chan status
canUpdateStatus bool
Expand Down Expand Up @@ -60,7 +58,6 @@ func New(wr io.Writer, errWriter io.Writer, disableStatus bool) *Terminal {
t := &Terminal{
wr: bufio.NewWriter(wr),
errWriter: errWriter,
buf: bytes.NewBuffer(nil),
msg: make(chan message),
status: make(chan status),
closed: make(chan struct{}),
Expand Down

0 comments on commit 72b343f

Please sign in to comment.