From 8e64e8dfca92b9bc6971d9b3a02a647866f8b2ec Mon Sep 17 00:00:00 2001 From: beorn7 Date: Thu, 17 Mar 2016 14:43:00 +0100 Subject: [PATCH] Fix return statement. --- storage/local/delta.go | 1 + 1 file changed, 1 insertion(+) diff --git a/storage/local/delta.go b/storage/local/delta.go index 58e028159f..1ca0661840 100644 --- a/storage/local/delta.go +++ b/storage/local/delta.go @@ -348,6 +348,7 @@ func (acc *deltaEncodedIndexAccessor) sampleValueAtIndex(idx int) model.SampleVa // No d8 for ints. default: acc.lastErr = fmt.Errorf("invalid number of bytes for integer delta: %d", acc.vBytes) + return 0 } } else { switch acc.vBytes {