From owner-cvs-all Wed Feb 27 1:16: 3 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0AA7E37B402; Wed, 27 Feb 2002 01:16:01 -0800 (PST) Received: (from julian@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1R9G1k94909; Wed, 27 Feb 2002 01:16:01 -0800 (PST) (envelope-from julian) Message-Id: <200202270916.g1R9G1k94909@freefall.freebsd.org> From: Julian Elischer Date: Wed, 27 Feb 2002 01:16:00 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb ohci.c uhci.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG julian 2002/02/27 01:16:00 PST Modified files: sys/dev/usb ohci.c uhci.c Log: 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. Revision Changes Path 1.64 +6 -3 src/sys/dev/usb/ohci.c 1.83 +4 -0 src/sys/dev/usb/uhci.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message