From f23b2a04e67f3325a066a8ab5ae352f534b3bb2b Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 10 Jun 2022 09:32:34 +0200 Subject: [PATCH] efi-string: Remove one more |= for bool This one was missed in #23589. --- src/boot/efi/efi-string.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/boot/efi/efi-string.c b/src/boot/efi/efi-string.c index b9ef1548ca2..072c649f8fa 100644 --- a/src/boot/efi/efi-string.c +++ b/src/boot/efi/efi-string.c @@ -193,7 +193,8 @@ static bool efi_fnmatch_internal(const char16_t *p, const char16_t *h, int max_d p++; if (*p == '\0') return false; - match |= *p == *h; + if (*p == *h) + match = true; can_range = true; continue; }