summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)