From 764556463ff132bd3a10d6c29e219bb10d523206 Mon Sep 17 00:00:00 2001 From: kavsrf Date: Thu, 15 Jun 2017 10:52:33 +0300 Subject: coverity scan fix --- DcsBml/DcsBml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- cgit v1.2.3