Amine Khaldi : d3dcompiler_43: Avoid an unintended fall-through.
Alexandre Julliard
julliard at winehq.org
Wed Feb 23 13:01:55 CST 2011
Module: wine
Branch: master
Commit: b6990fa77a864ccb6e6b97f83fed55c49fa8ccd8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b6990fa77a864ccb6e6b97f83fed55c49fa8ccd8
Author: Amine Khaldi <amine.khaldi at 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);
More information about the wine-cvs
mailing list