projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e538d59
)
efi-string: Remove one more |= for bool
author
Jan Janssen
<medhefgo@web.de>
Fri, 10 Jun 2022 07:32:34 +0000
(09:32 +0200)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Fri, 10 Jun 2022 12:14:57 +0000
(14:14 +0200)
This one was missed in #23589.
src/boot/efi/efi-string.c
patch
|
blob
|
history
diff --git
a/src/boot/efi/efi-string.c
b/src/boot/efi/efi-string.c
index b9ef1548ca24494fe21ab6b1c460905a60aebc97..072c649f8faf08605f3ab334ebf7efa6a20724c7 100644
(file)
--- 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;
}