Remove unused variables
This commit is contained in:
parent
e3e45d4f82
commit
cc3d61683d
|
@ -599,8 +599,6 @@ static int config_parse_join_controllers(const char *unit,
|
|||
for (a = arg_join_controllers; *a; a++) {
|
||||
|
||||
if (strv_overlap(*a, l)) {
|
||||
char **c;
|
||||
|
||||
if (strv_extend_strv(&l, *a) < 0) {
|
||||
strv_free(l);
|
||||
strv_free_free(t);
|
||||
|
|
|
@ -57,7 +57,6 @@ static void systemd_kmod_log(void *data, int priority, const char *file, int lin
|
|||
#pragma GCC diagnostic pop
|
||||
|
||||
static int add_modules(const char *p) {
|
||||
char **t;
|
||||
_cleanup_strv_free_ char **k = NULL;
|
||||
|
||||
k = strv_split(p, ",");
|
||||
|
|
|
@ -245,7 +245,6 @@ static int parse_argv(int argc, char *argv[]) {
|
|||
|
||||
case ARG_PREFIX: {
|
||||
char *p;
|
||||
char **l;
|
||||
|
||||
for (p = optarg; *p; p++)
|
||||
if (*p == '.')
|
||||
|
|
Loading…
Reference in a new issue