mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-01 22:42:45 +02:00
Fixed ineffectual assignments
Dropped/fixed ineffectual assignments after static code analysis.
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
a93cbb0d6c
commit
c577a9ed23
@@ -98,8 +98,9 @@ func (ns *Namespace) Delimit(seq, delimiter interface{}, last ...interface{}) (t
|
||||
dStr, err := cast.ToStringE(l)
|
||||
if err != nil {
|
||||
dLast = nil
|
||||
} else {
|
||||
dLast = &dStr
|
||||
}
|
||||
dLast = &dStr
|
||||
}
|
||||
|
||||
seqv := reflect.ValueOf(seq)
|
||||
|
Reference in New Issue
Block a user