google / zoekt

Fast trigram based code search
1.69k stars 113 forks source link

error return ignored #27

Closed hanwen closed 7 years ago

hanwen commented 7 years ago

func (b *Builder) buildShard( ..

for _, t := range todo {
    shardBuilder.Add(*t)
}

Add returns an error.

hanwen commented 7 years ago

https://github.com/google/zoekt/commit/186a5b7ff2c154978947bc198d84e08e3a7ba331