msi: Mark some data as constant.
This commit is contained in:
parent
8f75f51c3f
commit
76d6b76737
|
@ -2003,7 +2003,7 @@ static LPWSTR msi_get_disk_file_version( LPCWSTR filename )
|
|||
{
|
||||
static const WCHAR name_fmt[] =
|
||||
{'%','u','.','%','u','.','%','u','.','%','u',0};
|
||||
static WCHAR name[] = {'\\',0};
|
||||
static const WCHAR name[] = {'\\',0};
|
||||
VS_FIXEDFILEINFO *lpVer;
|
||||
WCHAR filever[0x100];
|
||||
LPVOID version;
|
||||
|
|
|
@ -405,7 +405,7 @@ static HRESULT WINAPI AutomationObject_Invoke(
|
|||
(hr == DISP_E_PARAMNOTFOUND ||
|
||||
hr == DISP_E_EXCEPTION)) {
|
||||
static const WCHAR szComma[] = { ',',0 };
|
||||
static WCHAR szExceptionSource[] = {'M','s','i',' ','A','P','I',' ','E','r','r','o','r',0};
|
||||
static const WCHAR szExceptionSource[] = {'M','s','i',' ','A','P','I',' ','E','r','r','o','r',0};
|
||||
WCHAR szExceptionDescription[MAX_PATH];
|
||||
BSTR bstrParamNames[MAX_FUNC_PARAMS];
|
||||
unsigned namesNo, i;
|
||||
|
|
|
@ -83,7 +83,7 @@ UINT MSI_OpenDatabaseW(LPCWSTR szDBPath, LPCWSTR szPersist, MSIDATABASE **pdb)
|
|||
WCHAR path[MAX_PATH];
|
||||
|
||||
static const WCHAR backslash[] = {'\\',0};
|
||||
static WCHAR szTables[] = { '_','T','a','b','l','e','s',0 };
|
||||
static const WCHAR szTables[] = { '_','T','a','b','l','e','s',0 };
|
||||
|
||||
TRACE("%s %s\n",debugstr_w(szDBPath),debugstr_w(szPersist) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue