[PATCH 1/5] rpcbind: Squelch a compiler warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove unused variable in read_struct().  This eliminates the compiler
warning:

warmstart.c: In function ‘read_struct’:
warmstart.c:106: warning: unused variable ‘sbuf’

Signed-off-by: Chuck Lever <chuck.lever@xxxxxxxxxx>
---

 src/warmstart.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/warmstart.c b/src/warmstart.c
index 91e482b..d52a835 100644
--- a/src/warmstart.c
+++ b/src/warmstart.c
@@ -103,7 +103,6 @@ read_struct(char *filename, xdrproc_t structproc, void *list)
 {
 	FILE *fp;
 	XDR xdrs;
-	struct stat sbuf;
 	 
 	if (debugging)
 		fprintf(stderr, "rpcbind: using '%s' startup file\n", filename);

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux