diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-09-05 02:57:49 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-09-05 04:31:29 +0900 |
commit | 9bf8600774689d34cfa5172c6eaba2093e095e23 (patch) | |
tree | 8ee7f1c2a21383b1f6a6baf1f05deaf2d33d0b7d /src | |
parent | 1996ad2854e94313735097d024ab0cd1353d13dd (diff) | |
download | systemd-9bf8600774689d34cfa5172c6eaba2093e095e23.tar.gz |
loop-util: drop unnecessary initializations
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/loop-util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/loop-util.c b/src/shared/loop-util.c index df4cf1f0a1..3cc72b65a0 100644 --- a/src/shared/loop-util.c +++ b/src/shared/loop-util.c @@ -361,10 +361,10 @@ static int loop_device_make_internal( _cleanup_free_ char *node = NULL; bool try_loop_configure = true; struct loop_config config; - LoopDevice *d = NULL; + LoopDevice *d; uint64_t seqnum = UINT64_MAX; usec_t timestamp = USEC_INFINITY; - int nr = -1, r, f_flags; + int nr, r, f_flags; struct stat st; assert(fd >= 0); |