urlmon: Write-strings warnings fix.
This commit is contained in:
parent
0924f969d1
commit
24e4acf728
|
@ -572,9 +572,14 @@ static struct regsvr_interface const interface_list[] = {
|
||||||
* register_inf
|
* register_inf
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define INF_SET_CLSID(clsid) \
|
#define INF_SET_CLSID(clsid) \
|
||||||
pse[i].pszName = "CLSID_" #clsid; \
|
do \
|
||||||
clsids[i++] = &CLSID_ ## clsid;
|
{ \
|
||||||
|
static CHAR name[] = "CLSID_" #clsid; \
|
||||||
|
\
|
||||||
|
pse[i].pszName = name; \
|
||||||
|
clsids[i++] = &CLSID_ ## clsid; \
|
||||||
|
} while (0)
|
||||||
|
|
||||||
static HRESULT register_inf(BOOL doregister)
|
static HRESULT register_inf(BOOL doregister)
|
||||||
{
|
{
|
||||||
|
@ -587,7 +592,7 @@ static HRESULT register_inf(BOOL doregister)
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
static const WCHAR wszAdvpack[] = {'a','d','v','p','a','c','k','.','d','l','l',0};
|
static const WCHAR wszAdvpack[] = {'a','d','v','p','a','c','k','.','d','l','l',0};
|
||||||
|
|
||||||
INF_SET_CLSID(CdlProtocol);
|
INF_SET_CLSID(CdlProtocol);
|
||||||
INF_SET_CLSID(FileProtocol);
|
INF_SET_CLSID(FileProtocol);
|
||||||
INF_SET_CLSID(FtpProtocol);
|
INF_SET_CLSID(FtpProtocol);
|
||||||
|
|
Loading…
Reference in New Issue