mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 16:47:28 +01:00
Generate C code for if-else-if.
Also remove redundant parentheses in "if ((x bin_op y))", to avoid triggering a clang -Wparentheses-equality warning.
This commit is contained in:
1 parent
a81752647c
commit
2d0f9d7669
4 files changed
+43
-18
No files matched your search
@@ -32,6 +32,8 @@ pub func lzw_decoder.decode?(dst ptr buf1, src ptr buf1, src_final bool)() {
|
||||
|
||||
if code < clear_code {
|
||||
break
|
||||
} else if code == clear_code {
|
||||
continue
|
||||
}
|
||||
|
||||
// TODO: implement.
|
||||
|
||||
Reference in new issue
Block a user