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
|
||||
*/
|
||||
|
||||
#define INF_SET_CLSID(clsid) \
|
||||
pse[i].pszName = "CLSID_" #clsid; \
|
||||
clsids[i++] = &CLSID_ ## clsid;
|
||||
#define INF_SET_CLSID(clsid) \
|
||||
do \
|
||||
{ \
|
||||
static CHAR name[] = "CLSID_" #clsid; \
|
||||
\
|
||||
pse[i].pszName = name; \
|
||||
clsids[i++] = &CLSID_ ## clsid; \
|
||||
} while (0)
|
||||
|
||||
static HRESULT register_inf(BOOL doregister)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue