Re: [PATCH] gcc-3.0 warnings

Bill Wendling (wendling@ganymede.isdn.uiuc.edu)
Fri, 23 Mar 2001 16:29:56 -0600


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, if people don't leave the
"default:" at the end, then bad things could happen...

-- 
|| Bill Wendling			wendling@ganymede.isdn.uiuc.edu
-
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/