mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-22 16:08:23 +08:00
Small fix for ffsBuilder
-found by static analysis
This commit is contained in:
parent
1f54d73f8c
commit
0184dc991c
@ -1,4 +1,4 @@
|
|||||||
/* fssbuilder.cpp
|
/* fssbuilder.cpp
|
||||||
|
|
||||||
Copyright (c) 2015, Nikolaj Schlej. All rights reserved.
|
Copyright (c) 2015, Nikolaj Schlej. All rights reserved.
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
@ -60,7 +60,7 @@ STATUS FfsBuilder::build(const QModelIndex & root, QByteArray & image)
|
|||||||
if (model->subtype(root) == Subtypes::IntelImage) {
|
if (model->subtype(root) == Subtypes::IntelImage) {
|
||||||
return buildIntelImage(root, image);
|
return buildIntelImage(root, image);
|
||||||
}
|
}
|
||||||
else if (model->subtype(root) == Subtypes::IntelImage) {
|
else if (model->subtype(root) == Subtypes::UefiImage) {
|
||||||
return buildRawArea(root, image);
|
return buildRawArea(root, image);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user