mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-19 11:16:57 +00:00
Follow gcc's suggestions about using braces
This commit is contained in:
parent
3772a526f6
commit
19a996bcb9
@ -560,13 +560,15 @@ static void test_resources()
|
||||
{ 0xdfd0, 16, false},
|
||||
};
|
||||
|
||||
for (unsigned i = 0; i < MAX_ROUNDS; ++i)
|
||||
if (round[i].req)
|
||||
for (unsigned i = 0; i < MAX_ROUNDS; ++i) {
|
||||
if (round[i].req) {
|
||||
PDBG("mreq [%04lx,%04lx) => %d",
|
||||
round[i].a, round[i].a + round[i].s, dde_kit_request_io(round[i].a, round[i].s));
|
||||
else
|
||||
} else {
|
||||
PDBG("mrel [%04lx,%04lx) => %d",
|
||||
round[i].a, round[i].a + round[i].s, dde_kit_release_io(round[i].a, round[i].s));
|
||||
}
|
||||
}
|
||||
|
||||
dde_kit_addr_t vaddr; int ret;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user