06-09-2012, 07:26 PM
Suppose I have the following code:
Does this code violate rule #15.2?
Code:
...
switch( x )
{
case 1:
if( y )
{
...
break;
}
else
{
...
break;
}
default:
break;
}
...
Does this code violate rule #15.2?