svn commit: r308742 - head/contrib/hyperv/tools

Sepherosa Ziehau sephe at FreeBSD.org
Thu Nov 17 03:00:57 UTC 2016


Author: sephe
Date: Thu Nov 17 03:00:56 2016
New Revision: 308742
URL: https://svnweb.freebsd.org/changeset/base/308742

Log:
  hyperv/vss: Nuke unused variables.
  
  Submitted by:	markj
  Reported by:	markj
  MFC after:	3 weeks
  Sponsored by:	Microsoft

Modified:
  head/contrib/hyperv/tools/hv_vss_daemon.c

Modified: head/contrib/hyperv/tools/hv_vss_daemon.c
==============================================================================
--- head/contrib/hyperv/tools/hv_vss_daemon.c	Thu Nov 17 00:21:55 2016	(r308741)
+++ head/contrib/hyperv/tools/hv_vss_daemon.c	Thu Nov 17 03:00:56 2016	(r308742)
@@ -158,10 +158,9 @@ main(int argc, char* argv[])
 
 	struct pollfd hv_vss_poll_fd[1];
 	uint32_t op;
-	int ch, r, len, error;
+	int ch, r, error;
 	int hv_vss_dev_fd;
 
-	int freeze_thaw = UNDEF_FREEZE_THAW;
 	while ((ch = getopt(argc, argv, "dnh")) != -1) {
 		switch (ch) {
 		case 'n':


More information about the svn-src-head mailing list