mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 17:01:35 +01:00
Remove unnecessary {}s.
This commit is contained in:
1 parent
018d8d1893
commit
b328529e00
2 files changed
+2
-12
No files matched your search
@@ -97,20 +97,12 @@ func (g *gen) writeFuncImpl(b *buffer, n *a.Func) error {
|
||||
}
|
||||
b.writes("{\n")
|
||||
b.writex(k.bHeader)
|
||||
if k.suspendible {
|
||||
if k.coroSuspPoint > 0 {
|
||||
if k.suspendible && k.coroSuspPoint > 0 {
|
||||
b.writex(k.bBodyResume)
|
||||
} else {
|
||||
b.writes("{\n")
|
||||
}
|
||||
}
|
||||
b.writex(k.bBody)
|
||||
if k.suspendible {
|
||||
if k.coroSuspPoint > 0 {
|
||||
if k.suspendible && k.coroSuspPoint > 0 {
|
||||
b.writex(k.bBodySuspend)
|
||||
} else {
|
||||
b.writes("}\n")
|
||||
}
|
||||
}
|
||||
b.writex(k.bFooter)
|
||||
b.writes("}\n\n")
|
||||
|
||||
@@ -1504,7 +1504,6 @@ puffs_flate_status puffs_flate_decoder_init_huff(puffs_flate_decoder* self,
|
||||
uint32_t v_high_bits;
|
||||
uint32_t v_delta;
|
||||
|
||||
{
|
||||
memset(v_counts, 0, sizeof(v_counts));
|
||||
v_i = a_n_codes0;
|
||||
while (v_i < a_n_codes1) {
|
||||
@@ -1747,7 +1746,6 @@ puffs_flate_status puffs_flate_decoder_init_huff(puffs_flate_decoder* self,
|
||||
}
|
||||
}
|
||||
label_3_break:;
|
||||
}
|
||||
exit:
|
||||
return status;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user