Mark deflate's init_huff as merely !? not !??

This commit is contained in:
Nigel Tao committed 2018-11-24 16:41:45 +11:00
1 parent 88236105c9
commit 312cdc8a0a
4 files changed
+74 -139

No files matched your search

+2 -2
View File
@@ -346,9 +346,9 @@ func (g *gen) writeFuncImplEpilogue(b *buffer) error {
b.writes("if (wuffs_base__status__is_error(status)) { " +
"self->private_impl.magic = WUFFS_BASE__DISABLED; }\n")
}
b.writes("return status;\n\n")
b.writes("return status;\n")
} else if effect.Optional() {
// TODO.
b.writes("return NULL;\n")
} else if g.currFunk.astFunc.Out() == nil {
b.writes("return ((wuffs_base__empty_struct){});\n")
}