Concealed a warning for unused result in fusermount

This commit is contained in:
jpandre 2009-12-10 13:28:30 +00:00
parent 758a99ea87
commit 5c464acada

View File

@ -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)