ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
84b277
From 9d05d80b64a04e2bf9a61d992b7bd22b23949d1e Mon Sep 17 00:00:00 2001
84b277
From: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
84b277
Date: Tue, 17 Jun 2014 21:22:01 +0200
84b277
Subject: [PATCH] install: remove unused variable
84b277
84b277
(cherry-picked from de228aabc833901e7c75aab8d62e58229e2a8bfc)
84b277
84b277
Resolves: #1147524
84b277
---
84b277
 src/shared/install.c | 2 +-
84b277
 1 file changed, 1 insertion(+), 1 deletion(-)
84b277
84b277
diff --git a/src/shared/install.c b/src/shared/install.c
84b277
index dc8842b..dd5e22b 100644
84b277
--- a/src/shared/install.c
84b277
+++ b/src/shared/install.c
84b277
@@ -1112,7 +1112,7 @@ static int unit_file_search(
84b277
                  * enablement was requested.  We will check if it is
84b277
                  * possible to load template unit file. */
84b277
 
84b277
-                _cleanup_free_ char *template = NULL, *template_dir = NULL;
84b277
+                _cleanup_free_ char *template = NULL;
84b277
 
84b277
                 template = unit_name_template(info->name);
84b277
                 if (!template)