mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 18:14:24 +08:00
Concealed a warning for unused result in fusermount
This commit is contained in:
parent
758a99ea87
commit
5c464acada
@ -588,7 +588,8 @@ static int mount_fuse(const char *mnt, const char *opts)
|
|||||||
&source, &mnt_opts);
|
&source, &mnt_opts);
|
||||||
|
|
||||||
if (currdir_fd != -1) {
|
if (currdir_fd != -1) {
|
||||||
fchdir(currdir_fd);
|
__attribute__((unused))int ignored_fchdir_status =
|
||||||
|
fchdir(currdir_fd);
|
||||||
close(currdir_fd);
|
close(currdir_fd);
|
||||||
}
|
}
|
||||||
if (mountpoint_fd != -1)
|
if (mountpoint_fd != -1)
|
||||||
|
Loading…
Reference in New Issue
Block a user