Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2018 17:42:50 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335070 - head/stand/libsa
Message-ID:  <201806131742.w5DHgo2k068073@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Wed Jun 13 17:42:50 2018
New Revision: 335070
URL: https://svnweb.freebsd.org/changeset/base/335070

Log:
  Remove unused variables.
  
  Sponsored by: Netflix

Modified:
  head/stand/libsa/tftp.c
  head/stand/libsa/ufs.c

Modified: head/stand/libsa/tftp.c
==============================================================================
--- head/stand/libsa/tftp.c	Wed Jun 13 17:28:06 2018	(r335069)
+++ head/stand/libsa/tftp.c	Wed Jun 13 17:42:50 2018	(r335070)
@@ -186,7 +186,6 @@ recvtftp(struct iodesc *d, void **pkt, void **payload,
 	struct tftprecv_extra *extra;
 	struct tftp_handle *h;
 	struct tftphdr *t;
-	unsigned short *rtype;
 	void *ptr = NULL;
 	ssize_t len;
 

Modified: head/stand/libsa/ufs.c
==============================================================================
--- head/stand/libsa/ufs.c	Wed Jun 13 17:28:06 2018	(r335069)
+++ head/stand/libsa/ufs.c	Wed Jun 13 17:42:50 2018	(r335070)
@@ -506,8 +506,7 @@ ufs_open(upath, f)
 	ino_t inumber, parent_inumber;
 	struct file *fp;
 	struct fs *fs;
-	int i, rc;
-	size_t buf_size;
+	int rc;
 	int nlinks = 0;
 	char namebuf[MAXPATHLEN+1];
 	char *buf = NULL;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806131742.w5DHgo2k068073>