mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 00:52:18 +01:00
Fix C goto generation for while without continue.
This commit is contained in:
1 parent
98a07921b1
commit
8e279c51bf
3 files changed
+9
-3
No files matched your search
+3
-1
@@ -269,13 +269,15 @@ label_0_continue:;
|
||||
goto cleanup0;
|
||||
} else if (v_code <= v_save_code) {
|
||||
v_s = 4095;
|
||||
while (v_s != 0) {
|
||||
while (true) {
|
||||
if (v_s == 0) {
|
||||
status = puffs_gif_error_bad_gif_image;
|
||||
goto cleanup0;
|
||||
}
|
||||
v_s -= 1;
|
||||
goto label_1_break;
|
||||
}
|
||||
label_1_break:;
|
||||
} else {
|
||||
status = puffs_gif_error_bad_gif_image;
|
||||
goto cleanup0;
|
||||
|
||||
Reference in new issue
Block a user