From c0c581a635e9988995703ed6003d79b87ffbdb0e Mon Sep 17 00:00:00 2001 From: Kees Jongenburger Date: Wed, 2 Jan 2013 17:33:16 +0100 Subject: [PATCH] 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 --- servers/vfs/mount.c | 3 --- 1 file changed, 3 deletions(-) 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)]; } /*===========================================================================*