mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-27 13:34:33 -04:00
GCC/Clang compatibility
- and some menu fixes
This commit is contained in:
parent
f729dd58b7
commit
867f507fac
4 changed files with 19 additions and 12 deletions
common
|
@ -102,7 +102,7 @@ STATUS FfsBuilder::buildCapsule(const QModelIndex & index, QByteArray & capsule)
|
|||
|
||||
// Check image type
|
||||
if (model->type(imageIndex) == Types::Image) {
|
||||
STATUS result;
|
||||
STATUS result = ERR_SUCCESS;
|
||||
if (model->subtype(imageIndex) == Subtypes::IntelImage) {
|
||||
result = buildIntelImage(imageIndex, imageData);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue