diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2018-11-03 16:48:20 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2018-11-05 17:25:11 +0100 |
commit | 70e3d0a613fb53e52f7a7cb31d65bcc2fa7ab738 (patch) | |
tree | 69b0a98727d8256eb415f82f6ae6d35f7176cac4 /libdm | |
parent | a91ac41b93eff0f3ebd3af3319e8bbcb1fe8d00f (diff) | |
download | lvm2-70e3d0a613fb53e52f7a7cb31d65bcc2fa7ab738.tar.gz |
cov: remove unused assigns
Diffstat (limited to 'libdm')
-rw-r--r-- | libdm/dm-tools/dmfilemapd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdm/dm-tools/dmfilemapd.c b/libdm/dm-tools/dmfilemapd.c index 0b17c2bfa..856df3df2 100644 --- a/libdm/dm-tools/dmfilemapd.c +++ b/libdm/dm-tools/dmfilemapd.c @@ -628,10 +628,10 @@ check_unlinked: static int _daemonise(struct filemap_monitor *fm) { - pid_t pid = 0, sid; + pid_t pid = 0; int fd; - if (!(sid = setsid())) { + if (!setsid()) { _early_log("setsid failed."); return 0; } |