From: Jan Janssen Date: Fri, 10 Jun 2022 07:32:34 +0000 (+0200) Subject: efi-string: Remove one more |= for bool X-Git-Tag: v252-rc1~829 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f23b2a04e67f3325a066a8ab5ae352f534b3bb2b;p=thirdparty%2Fsystemd.git efi-string: Remove one more |= for bool This one was missed in #23589. --- 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; }