Date: Tue, 8 Jan 2008 23:18:44 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 132830 for review Message-ID: <200801082318.m08NIiRm053342@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132830 Change 132830 by hselasky@hselasky_laptop001 on 2008/01/08 23:18:02 Fix a "can be used uninitialized" warning, which is not the case, on FreeBSD 6.3. Affected files ... .. //depot/projects/usb/src/sys/dev/usb/usb_transfer.c#101 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/usb_transfer.c#101 (text+ko) ==== @@ -771,6 +771,7 @@ parm.err = 0; refcount = 0; + info = NULL; WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL, "usbd_transfer_setup can sleep!"); @@ -848,10 +849,7 @@ parm.err = USBD_NO_INTR_THREAD; goto done; } - } else { - info = NULL; } - /* reset sizes */ parm.size[0] = 0;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801082318.m08NIiRm053342>