Follow gcc's suggestions about using braces

This commit is contained in:
Norman Feske 2012-11-01 17:01:58 +01:00
parent 3772a526f6
commit 19a996bcb9
1 changed files with 5 additions and 3 deletions

View File

@ -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;