msxml3: Initialize body pointer and size for unknown types (Coverity).
This commit is contained in:
parent
00484ed942
commit
2684eee0b2
dlls/msxml3
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue