mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
libc: fnmatch: Unwrap comma operator assignments
Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D49756 Reviewed by: des
This commit is contained in:
parent
80e06d621a
commit
1be90fcda2
1 changed files with 4 additions and 2 deletions
|
|
@ -152,8 +152,10 @@ fnmatch1(const char *pattern, const char *string, const char *stringstart,
|
|||
* there is no way having it match more characters
|
||||
* can help us, given that we are already here.
|
||||
*/
|
||||
bt_pattern = pattern, bt_patmbs = patmbs;
|
||||
bt_string = string, bt_strmbs = strmbs;
|
||||
bt_pattern = pattern;
|
||||
bt_patmbs = patmbs;
|
||||
bt_string = string;
|
||||
bt_strmbs = strmbs;
|
||||
break;
|
||||
case '[':
|
||||
if (sc == EOS)
|
||||
|
|
|
|||
Loading…
Reference in a new issue