Page MenuHomeFreeBSD

ixl(4): fix the code not guarded by the guarded by the if clause
ClosedPublic

Authored by lwhsu on May 27 2019, 3:02 PM.

Details

Summary

Fix the code not guarded by the guarded by the if clause and has misleading
indentation. This is found by gcc -Wmisleading-indentation

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

lwhsu created this revision.May 27 2019, 3:02 PM
lwhsu updated this revision to Diff 57973.May 27 2019, 10:13 PM

Add explicit braces to avoid dangling else (-Werror,-Wdangling-else of clang)

erj accepted this revision.May 29 2019, 10:25 PM

This is fine -- this was a result of our code stripping process, I think.

This revision is now accepted and ready to land.May 29 2019, 10:25 PM
This revision was automatically updated to reflect the committed changes.