d3dxof: Remove unreachable break after return (Smatch).

This commit is contained in:
Michael Stefaniuc 2008-08-19 21:33:33 +02:00 committed by Alexandre Julliard
parent 1bc0cdded1
commit 5ff42c55f7
1 changed files with 0 additions and 12 deletions

View File

@ -275,7 +275,6 @@ static BOOL is_space(char c)
case ' ': case ' ':
case '\t': case '\t':
return TRUE; return TRUE;
break;
} }
return FALSE; return FALSE;
} }
@ -295,7 +294,6 @@ static BOOL is_operator(char c)
case ',': case ',':
case ';': case ';':
return TRUE; return TRUE;
break;
} }
return FALSE; return FALSE;
} }
@ -311,34 +309,24 @@ static WORD get_operator_token(char c)
{ {
case '{': case '{':
return TOKEN_OBRACE; return TOKEN_OBRACE;
break;
case '}': case '}':
return TOKEN_CBRACE; return TOKEN_CBRACE;
break;
case '[': case '[':
return TOKEN_OBRACKET; return TOKEN_OBRACKET;
break;
case ']': case ']':
return TOKEN_CBRACKET; return TOKEN_CBRACKET;
break;
case '(': case '(':
return TOKEN_OPAREN; return TOKEN_OPAREN;
break;
case ')': case ')':
return TOKEN_CPAREN; return TOKEN_CPAREN;
break;
case '<': case '<':
return TOKEN_OANGLE; return TOKEN_OANGLE;
break;
case '>': case '>':
return TOKEN_CANGLE; return TOKEN_CANGLE;
break;
case ',': case ',':
return TOKEN_COMMA; return TOKEN_COMMA;
break;
case ';': case ';':
return TOKEN_SEMICOLON; return TOKEN_SEMICOLON;
break;
} }
return 0; return 0;
} }