Drop unused variables to fix build
This is a merge conflict between #22740 and #20156.
This commit is contained in:
@@ -189,7 +189,6 @@ static int pattern_split(
|
||||
int pattern_match(const char *pattern, const char *s, InstanceMetadata *ret) {
|
||||
_cleanup_(instance_metadata_destroy) InstanceMetadata found = INSTANCE_METADATA_NULL;
|
||||
_cleanup_(pattern_element_free_allp) PatternElement *elements = NULL;
|
||||
PatternElement *e;
|
||||
const char *p;
|
||||
int r;
|
||||
|
||||
@@ -412,7 +411,6 @@ nope:
|
||||
|
||||
int pattern_match_many(char **patterns, const char *s, InstanceMetadata *ret) {
|
||||
_cleanup_(instance_metadata_destroy) InstanceMetadata found = INSTANCE_METADATA_NULL;
|
||||
char **p;
|
||||
int r;
|
||||
|
||||
STRV_FOREACH(p, patterns) {
|
||||
@@ -454,7 +452,6 @@ int pattern_format(
|
||||
|
||||
_cleanup_(pattern_element_free_allp) PatternElement *elements = NULL;
|
||||
_cleanup_free_ char *j = NULL;
|
||||
PatternElement *e;
|
||||
int r;
|
||||
|
||||
assert(pattern);
|
||||
|
||||
Reference in New Issue
Block a user