Merge pull request #45 from fkautz/pr_out_simplifying_code

This commit is contained in:
Frederick F. Kautz IV 2014-11-26 23:33:57 -08:00
commit fd52a211f4
1 changed files with 1 additions and 5 deletions

View File

@ -60,11 +60,7 @@ func main() {
// get chunks
chunks := make([][]byte, k+m)
for i := 0; i < k+m; i++ {
var err error
chunks[i], err = ioutil.ReadFile(inputFilePath + "." + strconv.Itoa(i))
if err != nil {
continue
}
chunks[i], _ = ioutil.ReadFile(inputFilePath + "." + strconv.Itoa(i))
}
// get length