oleaut32: Avoid harcoding array lengths.
This commit is contained in:
parent
ea67d804f3
commit
a7cb73d39e
|
@ -447,7 +447,7 @@ void WINAPI SetOaNoCache(void)
|
|||
BSTR_bCache = FALSE;
|
||||
}
|
||||
|
||||
static const WCHAR _delimiter[2] = {'!',0}; /* default delimiter apparently */
|
||||
static const WCHAR _delimiter[] = {'!',0}; /* default delimiter apparently */
|
||||
static const WCHAR *pdelimiter = &_delimiter[0];
|
||||
|
||||
/***********************************************************************
|
||||
|
|
|
@ -2191,7 +2191,7 @@ HRESULT __RPC_STUB IPropertyBag_Read_Stub(
|
|||
DWORD varType,
|
||||
IUnknown *pUnkObj)
|
||||
{
|
||||
static const WCHAR emptyWstr[1] = {0};
|
||||
static const WCHAR emptyWstr[] = {0};
|
||||
IDispatch *disp;
|
||||
HRESULT hr;
|
||||
TRACE("(%p, %s, %p, %p, %x, %p)\n", This, debugstr_w(pszPropName), pVar,
|
||||
|
|
Loading…
Reference in New Issue