Hi,
I reviewed some codes from one project. I think it is not proper, but I
don't know the reason. Who can help me to explain it?
I don't think it is proper that 'break' exists in the bracket. It seems
not good that it remains in the local variable domain.
Do you think it is all right?
EXAMPLE:
switch (var)
{
case 1:
{
unsigned char ucTemp;
....(some operation)....
break;
}
case 2:
{
unsigned char ucTemp;
....(some operation)....
break;
}
default:
break;
}
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/