Browse Source

Fix return statement.

pull/1453/head
beorn7 9 years ago
parent
commit
8e64e8dfca
  1. 1
      storage/local/delta.go

1
storage/local/delta.go

@ -348,6 +348,7 @@ func (acc *deltaEncodedIndexAccessor) sampleValueAtIndex(idx int) model.SampleVa
// No d8 for ints. // No d8 for ints.
default: default:
acc.lastErr = fmt.Errorf("invalid number of bytes for integer delta: %d", acc.vBytes) acc.lastErr = fmt.Errorf("invalid number of bytes for integer delta: %d", acc.vBytes)
return 0
} }
} else { } else {
switch acc.vBytes { switch acc.vBytes {

Loading…
Cancel
Save