diff options
author | kavsrf <kavsrf@gmail.com> | 2017-06-15 10:52:33 +0300 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-06-18 15:52:11 +0200 |
commit | 764556463ff132bd3a10d6c29e219bb10d523206 (patch) | |
tree | 8a28388895dbbbd799f78c769de035c618a47e5a | |
parent | aede42a840cc6e3509048182eb204b5ce8f3187c (diff) | |
download | VeraCrypt-DCS-764556463ff132bd3a10d6c29e219bb10d523206.tar.gz VeraCrypt-DCS-764556463ff132bd3a10d6c29e219bb10d523206.zip |
coverity scan fix
-rw-r--r-- | DcsBml/DcsBml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DcsBml/DcsBml.c b/DcsBml/DcsBml.c index 3a5406f..7b37d1f 100644 --- a/DcsBml/DcsBml.c +++ b/DcsBml/DcsBml.c @@ -156,7 +156,7 @@ UpdateBootOrder() res = BootMenuItemCreate(L"BootDC5B", sDcsBootEfiDesc, gFileRootHandle, sDcsBootEfi, TRUE);
res = BootOrderInsert(L"BootOrder", 0, 0x0DC5B);
} else {
- if (EFI_ERROR(BootOrderPresent(L"BootOrder", 0x0DC5B, &boIndex) || boIndex != 0)) {
+ if (EFI_ERROR(BootOrderPresent(L"BootOrder", 0x0DC5B, &boIndex)) || boIndex != 0) {
res = BootOrderInsert(L"BootOrder", 0, 0x0DC5B);
}
}
|