Re: Parport numbering

Derrik (dpates@kalifornia.com)
Sat, 16 May 1998 09:11:43 -0700 (PDT)


On Sat, 16 May 1998, Andrea Arcangeli wrote:

> On Sat, 16 May 1998, Tim Waugh wrote:
>
> >+ /* Search for the lowest free parport number. */
> >+ portnum = 0;
> ^^^^^^^^^^^ not needed.
> >+ for (portnum = 0; ; portnum++) {
>
> Andrea[s] Arcangeli

It'll keep most newer compilers (GCC 2.8.x, EGCS, PGCC) from complaining
about a potentially uninitialized variable. I don't know if that was Tim's
intent with this or not, but I know that it'll keep the compiler quiet.

Derrik Pates
dpates@acm.org
dpates@kalifornia.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu