msxml3: Initialize body pointer and size for unknown types (Coverity).

This commit is contained in:
Nikolay Sivov 2012-11-29 07:52:53 -05:00 committed by Alexandre Julliard
parent 00484ed942
commit 2684eee0b2
1 changed files with 3 additions and 3 deletions
dlls/msxml3

View File

@ -699,14 +699,14 @@ static HRESULT BindStatusCallback_create(httprequest* This, BindStatusCallback *
size++;
break;
}
default:
FIXME("unsupported body data type %d\n", V_VT(body));
/* fall through */
case VT_EMPTY:
case VT_ERROR:
ptr = NULL;
size = 0;
break;
default:
FIXME("unsupported body data type %d\n", V_VT(body));
break;
}
bsc->body = GlobalAlloc(GMEM_FIXED, size);