From f629ffefa4cfca723b087b438a20e2725851876e Mon Sep 17 00:00:00 2001 From: Alberto Bertogli Date: Sun, 25 Feb 2018 03:26:21 +0000 Subject: [PATCH] trace: Remove unused SetError function --- internal/trace/trace.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/trace/trace.go b/internal/trace/trace.go index e1c7eb7..e2b004c 100644 --- a/internal/trace/trace.go +++ b/internal/trace/trace.go @@ -40,10 +40,6 @@ func (t *Trace) Debugf(format string, a ...interface{}) { t.family, t.title, quote(fmt.Sprintf(format, a...))) } -func (t *Trace) SetError() { - t.t.SetError() -} - func (t *Trace) Errorf(format string, a ...interface{}) error { // Note we can't just call t.Error here, as it breaks caller logging. err := fmt.Errorf(format, a...)