shared/install: drop an unused variable in config_parse_also()

This commit is contained in:
Franck Bui 2019-11-28 17:46:42 +01:00
parent 66a19d85a5
commit 972f3176fa

View file

@ -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;