]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix warnings that have become fatal
authorJulian Elischer <julian@FreeBSD.org>
Wed, 27 Feb 2002 09:16:00 +0000 (09:16 +0000)
committerJulian Elischer <julian@FreeBSD.org>
Wed, 27 Feb 2002 09:16:00 +0000 (09:16 +0000)
commit13b33111fe92866cba317946d51d73325d318d65
tree55c4a16c2cbab0c4e6582de3df6f87ca6ae41b8e
parent561dac21752c8abc31c34204f990b2fd0a9f4f7f
Fix warnings that have become fatal
1/ conditionalise (#if 0) function that is not used.
 Unused code left in place for netBSD compatibility.
2/ Recode loop to convince gcc that it does initialise a variable
 (use do-while instead of for() so gcc knows that we always go through
 at least once.  Feel free to check my logic.
sys/dev/usb/ohci.c
sys/dev/usb/uhci.c