Format using clang-format

This commit is contained in:
Justin C. Miller
2018-03-25 14:06:25 -07:00
parent 64a6d88e5c
commit fd5780610b
12 changed files with 173 additions and 161 deletions

View File

@@ -7,11 +7,12 @@ struct ErrorCode {
extern struct ErrorCode ErrorCodeTable[];
const CHAR16 *util_error_message(EFI_STATUS status) {
const CHAR16 *
util_error_message(EFI_STATUS status)
{
int32_t i = -1;
while (ErrorCodeTable[++i].desc != NULL) {
if (ErrorCodeTable[i].code == status)
return ErrorCodeTable[i].desc;
if (ErrorCodeTable[i].code == status) return ErrorCodeTable[i].desc;
}
return L"Unknown";