chiark / gitweb /
install: remove unused variable
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 17 Jun 2014 19:22:01 +0000 (21:22 +0200)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 17 Jun 2014 19:22:01 +0000 (21:22 +0200)
src/shared/install.c

index c7cb5220281a84f913db6576446a655a600321f1..4f7179309e80eb056b7bbb8bd18232927f98d5d0 100644 (file)
@@ -1128,7 +1128,7 @@ static int unit_file_search(
                  * enablement was requested.  We will check if it is
                  * possible to load template unit file. */
 
                  * 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)
 
                 template = unit_name_template(info->name);
                 if (!template)