Skip to content

Commit

Permalink
Fix gcc warning
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ngie-eign committed Jul 6, 2016
1 parent 31d9e3b commit e666419
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions usr.sbin/bhyve/usb_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e666419

Please sign in to comment.