mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 16:47:28 +01:00
Ban unlabeled break/continue for labeled loop
This commit is contained in:
1 parent
c5b3a9e08e
commit
2d2a880c18
4 files changed
+10
-3
No files matched your search
@@ -225,7 +225,7 @@ pri func decoder.decode_blocks?(dst: base.io_writer, src: base.io_reader) {
|
||||
|
||||
if type == 0 {
|
||||
this.decode_uncompressed?(dst: args.dst, src: args.src)
|
||||
continue
|
||||
continue.outer
|
||||
} else if type == 1 {
|
||||
status = this.init_fixed_huffman!()
|
||||
// TODO: "if status.is_error()" is probably more idiomatic, but for
|
||||
|
||||
Reference in new issue
Block a user