X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Finstall.c;h=4f7179309e80eb056b7bbb8bd18232927f98d5d0;hb=7cfa80f07e94c3e48703d145ef03a73dd6e7b983;hp=c7cb5220281a84f913db6576446a655a600321f1;hpb=ac78d81a35fae1c10464992dac25f1527a05cbc9;p=elogind.git diff --git a/src/shared/install.c b/src/shared/install.c index c7cb52202..4f7179309 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)