Blob Blame History Raw
From 9d05d80b64a04e2bf9a61d992b7bd22b23949d1e Mon Sep 17 00:00:00 2001
From: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
Date: Tue, 17 Jun 2014 21:22:01 +0200
Subject: [PATCH] install: remove unused variable

(cherry-picked from de228aabc833901e7c75aab8d62e58229e2a8bfc)

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

diff --git a/src/shared/install.c b/src/shared/install.c
index dc8842b..dd5e22b 100644
--- a/src/shared/install.c
+++ b/src/shared/install.c
@@ -1112,7 +1112,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)