summaryrefslogtreecommitdiff
path: root/sysdata_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'sysdata_unix.go')
-rw-r--r--sysdata_unix.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdata_unix.go b/sysdata_unix.go
index a910df7..6947e20 100644
--- a/sysdata_unix.go
+++ b/sysdata_unix.go
@@ -275,7 +275,7 @@ func (s *sysData) setWindowSize(width int, height int) error {
return nil
}
-func (s *sysData) delete(index int) error {
+func (s *sysData) delete(index int) {
ret := make(chan struct{})
defer close(ret)
uitask <- func() {
@@ -283,7 +283,6 @@ func (s *sysData) delete(index int) error {
ret <- struct{}{}
}
<-ret
- return nil
}
func (s *sysData) setProgress(percent int) {