Module: wine Branch: master Commit: b6990fa77a864ccb6e6b97f83fed55c49fa8ccd8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b6990fa77a864ccb6e6b97f83f...
Author: Amine Khaldi amine.khaldi@reactos.org Date: Wed Feb 23 18:05:12 2011 +0100
d3dcompiler_43: Avoid an unintended fall-through.
---
dlls/d3dcompiler_43/utils.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/d3dcompiler_43/utils.c b/dlls/d3dcompiler_43/utils.c index e265667..362479a 100644 --- a/dlls/d3dcompiler_43/utils.c +++ b/dlls/d3dcompiler_43/utils.c @@ -170,7 +170,7 @@ static const char *get_regname(const struct shader_reg *reg) { case 0: return "vPos"; case 1: return "vFace"; - case 2: return "unexpected misctype"; + default: return "unexpected misctype"; } case BWRITERSPR_LABEL: return wine_dbg_sprintf("l%u", reg->regnum);