0
0

unneeded cast and parens

This commit is contained in:
Steve Yen 2016-01-17 00:15:42 -08:00
parent 1335eb2a7b
commit 035d9d0e40

View File

@ -1027,7 +1027,7 @@ func (udc *UpsideDownCouch) Stats() json.Marshaler {
func (udc *UpsideDownCouch) fieldIndexOrNewRow(name string) (uint16, *FieldRow) {
index, existed := udc.fieldCache.FieldNamed(name, true)
if !existed {
return index, NewFieldRow(uint16(index), name)
return index, NewFieldRow(index, name)
}
return index, nil
}