[systemd-commits] src/shared

Thomas H.P. Andersen phomes at kemper.freedesktop.org
Tue Jun 17 12:22:06 PDT 2014


 src/shared/install.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit de228aabc833901e7c75aab8d62e58229e2a8bfc
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date:   Tue Jun 17 21:22:01 2014 +0200

    install: remove unused variable

diff --git a/src/shared/install.c b/src/shared/install.c
index c7cb522..4f71793 100644
--- a/src/shared/install.c
+++ b/src/shared/install.c
@@ -1128,7 +1128,7 @@ static int unit_file_search(
                  * enablement was requested.  We will check if it is
                  * possible to load template unit file. */
 
-                _cleanup_free_ char *template = NULL, *template_dir = NULL;
+                _cleanup_free_ char *template = NULL;
 
                 template = unit_name_template(info->name);
                 if (!template)



More information about the systemd-commits mailing list