Merge pull request #34022 from YHNdnzj/unit-is-filtered

core/unit: two trivial cleanups
This commit is contained in:
Yu Watanabe
2024-08-19 04:29:54 +09:00
committed by GitHub
16 changed files with 28 additions and 27 deletions
-1
View File
@@ -235,7 +235,6 @@ bool strv_fnmatch_full(char* const* patterns, const char *s, int flags, size_t *
static inline bool strv_fnmatch(char* const* patterns, const char *s) {
return strv_fnmatch_full(patterns, s, 0, NULL);
}
static inline bool strv_fnmatch_or_empty(char* const* patterns, const char *s, int flags) {
assert(s);
return strv_isempty(patterns) ||