version/tests: Constify some character strings.
This commit is contained in:
parent
5e94a5d4c9
commit
b1fd27eb2d
|
@ -204,7 +204,7 @@ static void test_info(void)
|
|||
VS_FIXEDFILEINFO *pFixedVersionInfo;
|
||||
UINT uiLength;
|
||||
char VersionString[MAX_PATH];
|
||||
static CHAR backslash[] = "\\";
|
||||
static const char backslash[] = "\\";
|
||||
DWORDLONG dwlVersion;
|
||||
|
||||
hdl = 0x55555555;
|
||||
|
|
|
@ -34,9 +34,9 @@ static void test_find_file(void)
|
|||
char filename[MAX_PATH];
|
||||
char outBuf[MAX_PATH];
|
||||
char windir[MAX_PATH];
|
||||
static CHAR empty[] = "",
|
||||
regedit[] = "regedit",
|
||||
regedit_exe[] = "regedit.exe";
|
||||
static const char empty[] = "",
|
||||
regedit[] = "regedit",
|
||||
regedit_exe[] = "regedit.exe";
|
||||
|
||||
memset(appdir, 0, MAX_PATH);
|
||||
memset(windir, 0, MAX_PATH);
|
||||
|
|
Loading…
Reference in New Issue