aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/text/internal/ucd/ucd.go
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2016-10-31 16:36:17 +0000
committerNiall Sheridan <nsheridan@gmail.com>2016-10-31 16:40:08 +0000
commite0a1ccb64a637673195804513902cba6b1d4e97c (patch)
treeabc1598be28cda231d92cda8fb10b49eeb564c29 /vendor/golang.org/x/text/internal/ucd/ucd.go
parent7bad329d417f19ba4aae2b4607281c2bc5df8ad7 (diff)
Update dependencies
Diffstat (limited to 'vendor/golang.org/x/text/internal/ucd/ucd.go')
-rw-r--r--vendor/golang.org/x/text/internal/ucd/ucd.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/vendor/golang.org/x/text/internal/ucd/ucd.go b/vendor/golang.org/x/text/internal/ucd/ucd.go
index 60b27d5..309e8d8 100644
--- a/vendor/golang.org/x/text/internal/ucd/ucd.go
+++ b/vendor/golang.org/x/text/internal/ucd/ucd.go
@@ -13,7 +13,6 @@ import (
"bufio"
"bytes"
"errors"
- "fmt"
"io"
"log"
"regexp"
@@ -112,7 +111,6 @@ func (p *Parser) setError(err error) {
func (p *Parser) getField(i int) []byte {
if i >= len(p.field) {
- p.setError(fmt.Errorf("ucd: index of field %d out of bounds", i))
return nil
}
return p.field[i]