chiark / gitweb /
systemctl: remove unused variable
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Sat, 29 Nov 2014 23:36:16 +0000 (00:36 +0100)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Sat, 29 Nov 2014 23:36:16 +0000 (00:36 +0100)
src/systemctl/systemctl.c

index 47b0aac03e75c950ef388369fc1d643824c61eb3..3f5bcdd1fb16c323c5d13452fd7fb36858d0a5d9 100644 (file)
@@ -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;