mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-12 09:17:44 +03:00
util: make gcc shut up
This commit is contained in:
parent
dda5a135b8
commit
a7610064ae
2
util.c
2
util.c
@ -1133,7 +1133,7 @@ int close_all_fds(const int except[], unsigned n_except) {
|
||||
return -errno;
|
||||
|
||||
while ((de = readdir(d))) {
|
||||
int fd;
|
||||
int fd = -1;
|
||||
|
||||
if (de->d_name[0] == '.')
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user