shared/install: drop an unused variable in config_parse_also()
This commit is contained in:
parent
66a19d85a5
commit
972f3176fa
|
@ -1122,7 +1122,7 @@ static int config_parse_also(
|
|||
void *data,
|
||||
void *userdata) {
|
||||
|
||||
UnitFileInstallInfo *info = userdata, *alsoinfo = NULL;
|
||||
UnitFileInstallInfo *info = userdata;
|
||||
InstallContext *c = data;
|
||||
int r;
|
||||
|
||||
|
@ -1144,7 +1144,7 @@ static int config_parse_also(
|
|||
if (r < 0)
|
||||
return r;
|
||||
|
||||
r = install_info_add(c, printed, NULL, true, &alsoinfo);
|
||||
r = install_info_add(c, printed, NULL, true, NULL);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
|
|
Loading…
Reference in a new issue