summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-06-17 21:22:01 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-06-17 21:22:01 +0200
commitde228aabc833901e7c75aab8d62e58229e2a8bfc (patch)
tree79a60f9585743e372f72baaf1e79ea3cbd18fb99 /src/shared
parent7613d0aec98d86c449aad7932116a2e7d67f8507 (diff)
install: remove unused variable
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/install.c b/src/shared/install.c
index c7cb522028..4f7179309e 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)