svn commit: r188988 - head/sys/dev/usb

Andrew Thompson thompsa at FreeBSD.org
Mon Feb 23 20:16:19 PST 2009


Author: thompsa
Date: Tue Feb 24 04:16:19 2009
New Revision: 188988
URL: http://svn.freebsd.org/changeset/base/188988

Log:
  Fix compiler warning.

Modified:
  head/sys/dev/usb/usb_dev.c

Modified: head/sys/dev/usb/usb_dev.c
==============================================================================
--- head/sys/dev/usb/usb_dev.c	Tue Feb 24 03:43:05 2009	(r188987)
+++ head/sys/dev/usb/usb_dev.c	Tue Feb 24 04:16:19 2009	(r188988)
@@ -1342,6 +1342,7 @@ usb2_ioctl(struct cdev *dev, u_long cmd,
 
 	u.data = data;
 
+	err = 0;
 	switch (cmd) {
 	case USB_READ_DIR:
 		err = usb2_read_symlink(u.urd->urd_data,


More information about the svn-src-all mailing list