Remove unused raczlib constants

This commit is contained in:
Nigel Tao committed 2019-08-08 15:41:00 +10:00
1 parent 4d2f575f2a
commit 31eb600ad3
2 files changed
+3 -22

No files matched your search

+3 -3
View File
@@ -287,12 +287,12 @@ func decode(r io.Reader, usingStdin bool) error {
}
func encode(r io.Reader) error {
indexLocation := raczlib.IndexLocation(0)
indexLocation := rac.IndexLocation(0)
switch *indexlocationFlag {
case "start":
indexLocation = raczlib.IndexLocationAtStart
indexLocation = rac.IndexLocationAtStart
case "end":
indexLocation = raczlib.IndexLocationAtEnd
indexLocation = rac.IndexLocationAtEnd
default:
return errors.New("invalid -indexlocation")
}