Let ? methods return OK even without suspending

This commit is contained in:
Nigel Tao committed 2018-05-27 19:09:58 +10:00
1 parent 865275db75
commit 00203e564f
4 files changed
+17 -11

No files matched your search

+6 -2
View File
@@ -3628,9 +3628,13 @@ static wuffs_gif__status wuffs_gif__decoder__copy_to_image_buffer(
v_dst = wuffs_base__table_u8__linearize(v_tab);
if (((uint64_t)(v_dst.len)) == 0) {
}
} else {
v_dst = wuffs_base__table_u8__row(v_tab, self->private_impl.f_dst_y);
status = WUFFS_GIF__STATUS_OK;
goto ok;
}
v_dst = wuffs_base__table_u8__row(v_tab, self->private_impl.f_dst_y);
goto ok;
ok:
goto exit;
exit:
return status;