mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 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
@@ -927,7 +927,7 @@ pri func decoder.decode_id_part2?(dst: ptr base.pixel_buffer, src: base.io_reade
|
||||
block_size = args.src.read_u8_as_u64?()
|
||||
}
|
||||
if block_size == 0 {
|
||||
break
|
||||
break.outer
|
||||
}
|
||||
while args.src.available() == 0 {
|
||||
yield? base."$short read"
|
||||
|
||||
Reference in new issue
Block a user