d3dxof: Remove unreachable break after return (Smatch).
Michael Stefaniuc
mstefani at redhat.de
Tue Aug 19 14:33:33 CDT 2008
---
dlls/d3dxof/d3dxof.c | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/dlls/d3dxof/d3dxof.c b/dlls/d3dxof/d3dxof.c
index f16dce1..54d78a1 100644
--- a/dlls/d3dxof/d3dxof.c
+++ b/dlls/d3dxof/d3dxof.c
@@ -275,7 +275,6 @@ static BOOL is_space(char c)
case ' ':
case '\t':
return TRUE;
- break;
}
return FALSE;
}
@@ -295,7 +294,6 @@ static BOOL is_operator(char c)
case ',':
case ';':
return TRUE;
- break;
}
return FALSE;
}
@@ -311,34 +309,24 @@ static WORD get_operator_token(char c)
{
case '{':
return TOKEN_OBRACE;
- break;
case '}':
return TOKEN_CBRACE;
- break;
case '[':
return TOKEN_OBRACKET;
- break;
case ']':
return TOKEN_CBRACKET;
- break;
case '(':
return TOKEN_OPAREN;
- break;
case ')':
return TOKEN_CPAREN;
- break;
case '<':
return TOKEN_OANGLE;
- break;
case '>':
return TOKEN_CANGLE;
- break;
case ',':
return TOKEN_COMMA;
- break;
case ';':
return TOKEN_SEMICOLON;
- break;
}
return 0;
}
--
1.6.0.rc3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080819/dc8cb2cb/attachment.pgp
More information about the wine-patches
mailing list