Commit b1fd27eb authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

version/tests: Constify some character strings.

parent 5e94a5d4
...@@ -204,7 +204,7 @@ static void test_info(void) ...@@ -204,7 +204,7 @@ static void test_info(void)
VS_FIXEDFILEINFO *pFixedVersionInfo; VS_FIXEDFILEINFO *pFixedVersionInfo;
UINT uiLength; UINT uiLength;
char VersionString[MAX_PATH]; char VersionString[MAX_PATH];
static CHAR backslash[] = "\\"; static const char backslash[] = "\\";
DWORDLONG dwlVersion; DWORDLONG dwlVersion;
hdl = 0x55555555; hdl = 0x55555555;
......
...@@ -34,9 +34,9 @@ static void test_find_file(void) ...@@ -34,9 +34,9 @@ static void test_find_file(void)
char filename[MAX_PATH]; char filename[MAX_PATH];
char outBuf[MAX_PATH]; char outBuf[MAX_PATH];
char windir[MAX_PATH]; char windir[MAX_PATH];
static CHAR empty[] = "", static const char empty[] = "",
regedit[] = "regedit", regedit[] = "regedit",
regedit_exe[] = "regedit.exe"; regedit_exe[] = "regedit.exe";
memset(appdir, 0, MAX_PATH); memset(appdir, 0, MAX_PATH);
memset(windir, 0, MAX_PATH); memset(windir, 0, MAX_PATH);
......
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