Am Freitag, 26. Mai 2006 10:32 schrieb Ladislav Michnovič:
>   Maybe you're right. I did not mentioned that in other functions
> there is not such line in default case. It looks like somebody
> cut&paste one line more, that was necesary. Maybe I'm wrong. The
> author of the code will know what to do. I just wanted to point at
> this problem.

I think it's a good style to put a break after the default case. This way a 
fall-through can never ever happen.

Arne

-- 
Dipl.-Inform. Arne Schmitz              Phone   +49 (0)241 80-21817
Computer Graphics Group                 Fax     +49 (0)241 80-22899
RWTH Aachen University                  http://www.rwth-graphics.de
Ahornstrasse 55, 52074 Aachen, Germany

Attachment: pgp5DwiCyDTqz.pgp
Description: PGP signature

Reply via email to