VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkavsrf <kavsrf@gmail.com>2017-06-15 07:52:33 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-06-18 13:52:11 (GMT)
commit764556463ff132bd3a10d6c29e219bb10d523206 (patch)
tree8a28388895dbbbd799f78c769de035c618a47e5a
parentaede42a840cc6e3509048182eb204b5ce8f3187c (diff)
downloadVeraCrypt-DCS-764556463ff132bd3a10d6c29e219bb10d523206.zip
VeraCrypt-DCS-764556463ff132bd3a10d6c29e219bb10d523206.tar.gz
coverity scan fix
-rw-r--r--DcsBml/DcsBml.c2
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);
}
}