shithub: riscv

Download patch

ref: ec3270197341cc9924140837d8adf55438511450
parent: 4195e1a54e54d76aad8352d62b774c07e2b8ec98
author: ftrvxmtrx <ftrvxmtrx@gmail.com>
date: Wed Nov 16 21:09:57 EST 2016

ramfs: remove unused variable

--- a/sys/src/cmd/ramfs.c
+++ b/sys/src/cmd/ramfs.c
@@ -455,10 +455,8 @@
 	char *srvname = nil;
 	char *mtpt = "/tmp";
 	int mountflags;
-	Qid q;
 
 	fs.tree = alloctree(nil, nil, DMDIR|0777, fsdestroyfile);
-	q = fs.tree->root->qid;
 
 	mountflags = 0;
 	ARGBEGIN{