shared/install: drop an unused variable in config_parse_also()
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user