oledb32/tests: Constify some character strings.
This commit is contained in:
parent
43d05cc59e
commit
0a51a8203b
|
@ -2617,7 +2617,7 @@ static void test_converttodbdate(void)
|
|||
{
|
||||
DBLENGTH dst_len;
|
||||
HRESULT hr;
|
||||
static WCHAR strW[] = {'2','0','1','3','-','0','5','-','1','4',0};
|
||||
static const WCHAR strW[] = {'2','0','1','3','-','0','5','-','1','4',0};
|
||||
DBDATE ts = {2013, 5, 14};
|
||||
DBDATE dst;
|
||||
DBSTATUS dst_status;
|
||||
|
|
|
@ -209,9 +209,9 @@ static void test_errorinfo(void)
|
|||
|
||||
static void test_initializationstring(void)
|
||||
{
|
||||
static WCHAR initstring_msdasql[] = {'P','r','o','v','i','d','e','r','=','M','S','D','A','S','Q','L','.','1',';',
|
||||
static const WCHAR initstring_msdasql[] = {'P','r','o','v','i','d','e','r','=','M','S','D','A','S','Q','L','.','1',';',
|
||||
'D','a','t','a',' ','S','o','u','r','c','e','=','d','u','m','m','y', 0};
|
||||
static WCHAR initstring_sqloledb[] = {'P','r','o','v','i','d','e','r','=','S','Q','L','O','L','E','D','B','.','1',';',
|
||||
static const WCHAR initstring_sqloledb[] = {'P','r','o','v','i','d','e','r','=','S','Q','L','O','L','E','D','B','.','1',';',
|
||||
'D','a','t','a',' ','S','o','u','r','c','e','=','d','u','m','m','y', 0};
|
||||
IDataInitialize *datainit = NULL;
|
||||
IDBInitialize *dbinit = NULL;
|
||||
|
|
Loading…
Reference in New Issue