1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

shared: no need to initialize variable

This commit is contained in:
Lennart Poettering 2019-04-03 16:52:19 +02:00
parent b3e8032bb4
commit 8a383bf2c0

View File

@ -45,8 +45,8 @@ static const BaseFilesystem table[] = {
int base_filesystem_create(const char *root, uid_t uid, gid_t gid) {
_cleanup_close_ int fd = -1;
int r = 0;
size_t i;
int r;
fd = open(root, O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC|O_NOFOLLOW);
if (fd < 0)