summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-11-30 00:36:16 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-11-30 00:36:16 +0100
commitc09157eeeadf7b6810ca3b9ff7c180767e9a30b7 (patch)
tree00edd67a619284d52de7b1fe6c83fe47b97f4206 /src
parent997b2b438c2d272e3bc8df6e4b42dba3b70cb056 (diff)
systemctl: remove unused variable
Diffstat (limited to 'src')
-rw-r--r--src/systemctl/systemctl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 47b0aac03e..3f5bcdd1fb 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -5735,7 +5735,6 @@ static int unit_file_find_path(LookupPaths *lp, const char *unit_name, char **un
}
static int create_edit_temp_file(const char *new_path, const char *original_path, char **ret_tmp_fn) {
- _cleanup_close_ int fd = -1;
int r;
char *t;