git » chasquid » commit f629ffe

trace: Remove unused SetError function

author Alberto Bertogli
2018-02-25 03:26:21 UTC
committer Alberto Bertogli
2018-03-02 19:37:37 UTC
parent 420754b0a00450345f0597e4926a8eb3bc99d416

trace: Remove unused SetError function

internal/trace/trace.go +0 -4

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...)