Re: [PATCH] gcc-3.0 warnings

Linus Torvalds (torvalds@transmeta.com)
Fri, 23 Mar 2001 14:34:15 -0800 (PST)


On Fri, 23 Mar 2001, Bill Wendling wrote:

> Also sprach Alan Cox:
>
> } > - default:
> } > + default:;
> }
> } Agree - done
> }
> This kind of coding makes me want to cry. What's so wrong with:
>
> default:
> break;
>
> instead? The ';' is hard to notice and

I agree. I'd much prefer that syntax also.

Or just remove the "default:" altogether, when it doesn't make any
difference.

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/