mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 08:47:28 +01:00
Remove unused raczlib constants
This commit is contained in:
1 parent
4d2f575f2a
commit
31eb600ad3
2 files changed
+3
-22
No files matched your search
+3
-3
@@ -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")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user