mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 08:38:14 +01:00
Remove a dummy parameter hack
This commit is contained in:
1 parent
dd18633a8a
commit
bc9e91b9e9
4 files changed
+1
-53
No files matched your search
@@ -314,10 +314,7 @@ pri func decoder.decode_id?(dst base.io_writer, src base.io_reader)() {
|
||||
in.src.mark()
|
||||
io_bind (in.src) {
|
||||
in.src.set_limit(l:block_size)
|
||||
// TODO: remove the dummy param. It's needed for now so that
|
||||
// writeSaveExprDerivedVars updates e.g. the b_rptr_src derived
|
||||
// variables.
|
||||
var z base.status = try this.lzw.decode?(dst:in.dst, src:in.src, dummy:in.src)
|
||||
var z base.status = try this.lzw.decode?(dst:in.dst, src:in.src)
|
||||
}
|
||||
if z.is_ok() {
|
||||
break
|
||||
|
||||
Reference in new issue
Block a user