indents
switch ( statusKind )
{
case GOOD:
{
if ( now > goodTimestamp )
{
goodTimestamp = now;
}
isPermanentlyRedirected = false;
isTemporarilyRedirected = false;
break;
}
if I take out the outer {} it indents as requested in the code style.
Is the lack of indent with {} the intended behaviour?
--
Roedy Green Canadian Mind Products http://mindprod.com
Students who hire or con others to do their homework are as foolish
as couch potatoes who hire others to go to the gym for them.
Please sign in to leave a comment.
What do you mean by 'outer {}', is it code block which starts the 'case' clause? And where is the 'lack of indent with {}'?
Denis