From efef3456654957e635bfe6aa4dd701b37315d4c8 Mon Sep 17 00:00:00 2001 From: bartfokker Date: Thu, 25 Oct 2018 22:13:04 +0200 Subject: [PATCH] remove unneeded `fmt.Sprintf` --- cwidgets/compact/setters.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cwidgets/compact/setters.go b/cwidgets/compact/setters.go index 35817b4..779991e 100644 --- a/cwidgets/compact/setters.go +++ b/cwidgets/compact/setters.go @@ -19,7 +19,7 @@ func (row *Compact) SetIO(read int64, write int64) { } func (row *Compact) SetPids(val int) { - label := fmt.Sprintf("%s", strconv.Itoa(val)) + label := strconv.Itoa(val) row.Pids.Set(label) }