svn commit: r302369 - head/usr.sbin/bhyve

Garrett Cooper ngie at FreeBSD.org
Wed Jul 6 05:17:57 UTC 2016


Author: ngie
Date: Wed Jul  6 05:17:56 2016
New Revision: 302369
URL: https://svnweb.freebsd.org/changeset/base/302369

Log:
  Fix gcc warning
  
  Remove -Wunused-but-set-variable (`mopt`).
  
  Approved by: re (gjb)
  Differential Revision: https://reviews.freebsd.org/D7119
  MFC after: 1 week
  X-MFC with: r302332
  Reported by: Jenkins
  Reviewed by: grehan (maintainer)
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/usr.sbin/bhyve/usb_mouse.c

Modified: head/usr.sbin/bhyve/usb_mouse.c
==============================================================================
--- head/usr.sbin/bhyve/usb_mouse.c	Wed Jul  6 05:17:07 2016	(r302368)
+++ head/usr.sbin/bhyve/usb_mouse.c	Wed Jul  6 05:17:56 2016	(r302369)
@@ -297,9 +297,6 @@ static void *
 umouse_init(struct usb_hci *hci, char *opt)
 {
 	struct umouse_softc *sc;
-	char *mopt;
-
-	mopt = opt;
 
 	sc = calloc(1, sizeof(struct umouse_softc));
 	sc->hci = hci;


More information about the svn-src-head mailing list