1
This commit is contained in:
Alex Yatskov 2016-11-04 22:56:06 -07:00
parent 97abfea07f
commit 506b5af9d3

View File

@ -96,7 +96,6 @@ func (index *termMetaDb) output(dir string, pretty bool) error {
} }
var entries [][]string var entries [][]string
var entryCount = len(entries)
for _, e := range index.entries { for _, e := range index.entries {
entries = append( entries = append(
entries, entries,
@ -108,6 +107,8 @@ func (index *termMetaDb) output(dir string, pretty bool) error {
) )
} }
entryCount := len(entries)
for i := 0; i < entryCount; i += BANK_STRIDE { for i := 0; i < entryCount; i += BANK_STRIDE {
indexSrc := i indexSrc := i
indexDst := i + BANK_STRIDE indexDst := i + BANK_STRIDE