0
0

Merge pull request #125 from Shugyousha/simplereturn

Remove unneeded else clauses
This commit is contained in:
Marty Schoch 2014-11-20 14:45:57 -05:00
commit 560990d29c

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
}