oleaut32: Move variable declaration outside of the switch statement.

This commit is contained in:
Alexandre Julliard 2010-03-19 16:54:44 +01:00
parent f6c4c49f86
commit 3cc7574e9c

View file

@ -1179,6 +1179,7 @@ static HRESULT ctl2_add_default_value(
{
VARIANT v;
HRESULT hres;
int mask = 0;
TRACE("%p %d %d\n", This, V_VT(value), arg_type);
@ -1196,7 +1197,6 @@ static HRESULT ctl2_add_default_value(
/* Check if default value can be stored in encoded_value */
switch(arg_type) {
int mask = 0;
case VT_I4:
case VT_UI4:
mask = 0x3ffffff;