]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shared/install: drop an unused variable in config_parse_also() 14156/head
authorFranck Bui <fbui@suse.com>
Thu, 28 Nov 2019 16:46:42 +0000 (17:46 +0100)
committerFranck Bui <fbui@suse.com>
Fri, 10 Jan 2020 13:28:52 +0000 (14:28 +0100)
src/shared/install.c

index cc628d7369a065afcbf8493f506171c47b891c83..1e5babcddff952eb32c9bba11f83cb974fc56362 100644 (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;