misc: remove redundant returns

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
This commit is contained in:
Hidde Beydals 2023-10-10 09:59:26 +02:00
parent 61bf78379d
commit 58d3608c9a
No known key found for this signature in database
GPG Key ID: 979F380FC2341744
2 changed files with 0 additions and 2 deletions

View File

@ -106,5 +106,4 @@ func writePathString(path cmp.Path, sb *strings.Builder) {
sb.WriteString(fmt.Sprintf("%v", t.String()))
}
}
return
}

View File

@ -37,7 +37,6 @@ func TestLogBuffer_Log(t *testing.T) {
var count int
l := NewLogBuffer(func(format string, v ...interface{}) {
count++
return
}, tt.size)
for _, v := range tt.fill {
l.Log("%s", v)