wmail: added breaks and explicit fall-through comments to switches.
This commit is contained in:
parent
4497ebeab1
commit
fd74dc6f8a
1 changed files with 5 additions and 2 deletions
|
@ -797,6 +797,7 @@ static void UpdatePixmap( bool flashMailSymbol )
|
||||||
if( flashMailSymbol )
|
if( flashMailSymbol )
|
||||||
XCopyArea( DADisplay, symbolsPixmap, outPixmap, DAGC,
|
XCopyArea( DADisplay, symbolsPixmap, outPixmap, DAGC,
|
||||||
13, 0, 37, 12, 20, 7 );
|
13, 0, 37, 12, 20, 7 );
|
||||||
|
/* fall through */
|
||||||
case STATE_READMAIL:
|
case STATE_READMAIL:
|
||||||
XCopyArea( DADisplay, symbolsPixmap, outPixmap, DAGC,
|
XCopyArea( DADisplay, symbolsPixmap, outPixmap, DAGC,
|
||||||
0, 0, 13, 12, 7, 7 );
|
0, 0, 13, 12, 7, 7 );
|
||||||
|
@ -805,8 +806,9 @@ static void UpdatePixmap( bool flashMailSymbol )
|
||||||
DrawTickerBuildinFont();
|
DrawTickerBuildinFont();
|
||||||
else
|
else
|
||||||
DrawTickerX11Font();
|
DrawTickerX11Font();
|
||||||
|
break;
|
||||||
default: // make compiler happy
|
default: // make compiler happy
|
||||||
;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
DASetPixmap( outPixmap );
|
DASetPixmap( outPixmap );
|
||||||
|
@ -976,7 +978,8 @@ static char *ParseFromField( char *buf )
|
||||||
fullNameEncoded = 1;
|
fullNameEncoded = 1;
|
||||||
state = STATE_ENCODED_FULLNAME;
|
state = STATE_ENCODED_FULLNAME;
|
||||||
continue;
|
continue;
|
||||||
} // else do the default action
|
}
|
||||||
|
/* else fall through */
|
||||||
default:
|
default:
|
||||||
if( fullName[0] != '\0' || !isspace( *c ))
|
if( fullName[0] != '\0' || !isspace( *c ))
|
||||||
fullName[ fullNameLen++ ] = *c;
|
fullName[ fullNameLen++ ] = *c;
|
||||||
|
|
Loading…
Reference in a new issue