wined3d: Properly break in get_argreg() (LLVM/Clang).

This commit is contained in:
Henri Verbeet 2008-10-30 17:38:55 +01:00 committed by Alexandre Julliard
parent 5302d2b311
commit c090471a49
1 changed files with 3 additions and 0 deletions

View File

@ -2611,7 +2611,10 @@ static const char *get_argreg(SHADER_BUFFER *buffer, DWORD argnum, unsigned int
case 5: ret = "const5"; break;
case 6: ret = "const6"; break;
case 7: ret = "const7"; break;
default: ret = "unknown constant";
}
break;
default:
return "unknown";
}