Remove a bunch of unused variables

gcc does not warn about those, because of the _cleanup_ usage.
clang is smarter here.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2017-11-01 23:06:44 +01:00
parent 41dfa61d35
commit ac097c841e
8 changed files with 3 additions and 10 deletions
-1
View File
@@ -245,7 +245,6 @@ int ask_string(char **ret, const char *text, ...) {
int reset_terminal_fd(int fd, bool switch_to_text) {
struct termios termios;
_cleanup_free_ char *utf8 = NULL;
int r = 0;
/* Set terminal to some sane defaults */