0
0

Remove unneeded else clauses

This commit is contained in:
Silvan Jegen 2014-11-20 20:31:51 +01:00
parent 68a2b9614d
commit e3a2d3b58b

View File

@ -48,10 +48,7 @@ func (t *termSummaryDecr) Merge(key, existing []byte) ([]byte, error) {
tfr.freq--
if tfr.freq > 0 {
return tfr.Value(), nil
} else {
return nil, nil
}
} else {
return nil, nil
}
return nil, nil
}