unneeded cast and parens
This commit is contained in:
parent
1335eb2a7b
commit
035d9d0e40
|
@ -1027,7 +1027,7 @@ func (udc *UpsideDownCouch) Stats() json.Marshaler {
|
||||||
func (udc *UpsideDownCouch) fieldIndexOrNewRow(name string) (uint16, *FieldRow) {
|
func (udc *UpsideDownCouch) fieldIndexOrNewRow(name string) (uint16, *FieldRow) {
|
||||||
index, existed := udc.fieldCache.FieldNamed(name, true)
|
index, existed := udc.fieldCache.FieldNamed(name, true)
|
||||||
if !existed {
|
if !existed {
|
||||||
return index, NewFieldRow(uint16(index), name)
|
return index, NewFieldRow(index, name)
|
||||||
}
|
}
|
||||||
return index, nil
|
return index, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user