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 c7cb522..4f71793 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. */
 
-                _cleanup_free_ char *template = NULL, *template_dir = NULL;
+                _cleanup_free_ char *template = NULL;
 
                 template = unit_name_template(info->name);
                 if (!template)