From: Kees Jongenburger Date: Wed, 2 Jan 2013 16:33:16 +0000 (+0100) Subject: vfs:fix for variable 'rfp' set but not used. X-Git-Tag: v3.2.1~143 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/man.dnssec-settime.html?a=commitdiff_plain;h=c0c581a635e9988995703ed6003d79b87ffbdb0e;p=minix.git vfs:fix for variable 'rfp' set but not used. mount.c: In function 'mount_pfs': mount.c:395:17: error: variable 'rfp' set but not used [-Werror=unused-but-set-variable] Change-Id: I2f22590ab4e3a4a1678e9096626ebca53d2660e6 --- diff --git a/servers/vfs/mount.c b/servers/vfs/mount.c index e9354bb30..a91a90ec7 100644 --- a/servers/vfs/mount.c +++ b/servers/vfs/mount.c @@ -395,7 +395,6 @@ void mount_pfs(void) dev_t dev; struct vmnt *vmp; - struct fproc *rfp; if ((dev = find_free_nonedev()) == NO_DEV) panic("VFS: no nonedev to initialize PFS"); @@ -410,8 +409,6 @@ void mount_pfs(void) strlcpy(vmp->m_label, "pfs", LABEL_MAX); strlcpy(vmp->m_mount_path, "pipe", PATH_MAX); strlcpy(vmp->m_mount_dev, "none", PATH_MAX); - - rfp = &fproc[_ENDPOINT_P(PFS_PROC_NR)]; } /*===========================================================================*