[Lint] Added InsertBraces to linter to unify codebase to one standard
This commit is contained in:
@@ -941,8 +941,9 @@ bool XexModule::Load(const std::string_view name, const std::string_view path,
|
||||
// back to xex_security_info otherwise
|
||||
base_address_ = xex_security_info()->load_address;
|
||||
xe::be<uint32_t>* base_addr_opt = nullptr;
|
||||
if (GetOptHeader(XEX_HEADER_IMAGE_BASE_ADDRESS, &base_addr_opt))
|
||||
if (GetOptHeader(XEX_HEADER_IMAGE_BASE_ADDRESS, &base_addr_opt)) {
|
||||
base_address_ = *base_addr_opt;
|
||||
}
|
||||
|
||||
// Setup debug info.
|
||||
name_ = name;
|
||||
|
||||
Reference in New Issue
Block a user