Commit 24e4acf7 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

urlmon: Write-strings warnings fix.

parent 0924f969
...@@ -573,8 +573,13 @@ static struct regsvr_interface const interface_list[] = { ...@@ -573,8 +573,13 @@ static struct regsvr_interface const interface_list[] = {
*/ */
#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)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment