Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2002 09:39:06 -0800
From:      Bill Fenner <fenner@research.att.com>
To:        julian@freebsd.org
Cc:        cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/dev/usb ohci.c uhci.c
Message-ID:  <200202271739.JAA07197@windsor.research.att.com>

next in thread | raw e-mail | index | archive | help

>  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.
  
This is why I hate -Werror.  Coding for the compiler vs. for readability
is always going to end up being a lose.  Next year someone will come through
here and say "Why isn't this a for() loop?  That would make it much more
reasable"...

  Bill

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202271739.JAA07197>