Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5f6b0d00
Commit
5f6b0d00
authored
Dec 24, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Dec 24, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Constify some character strings.
parent
ab159ead
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
profile.c
dlls/kernel32/tests/profile.c
+8
-8
No files found.
dlls/kernel32/tests/profile.c
View file @
5f6b0d00
...
...
@@ -92,12 +92,12 @@ static void test_profile_int(void)
static
void
test_profile_string
(
void
)
{
static
WCHAR
emptyW
[]
=
{
0
};
static
WCHAR
keyW
[]
=
{
'k'
,
'e'
,
'y'
,
0
};
static
WCHAR
sW
[]
=
{
's'
,
0
};
static
WCHAR
TESTFILE2W
[]
=
{
'.'
,
'\\'
,
't'
,
'e'
,
's'
,
't'
,
'w'
,
'i'
,
'n'
,
'e'
,
'2'
,
'.'
,
'i'
,
'n'
,
'i'
,
0
};
static
WCHAR
valsectionW
[]
=
{
'v'
,
'a'
,
'l'
,
'_'
,
'e'
,
'_'
,
's'
,
'e'
,
'c'
,
't'
,
'i'
,
'o'
,
'n'
,
0
};
static
WCHAR
valnokeyW
[]
=
{
'v'
,
'a'
,
'l'
,
'_'
,
'n'
,
'o'
,
'_'
,
'k'
,
'e'
,
'y'
,
0
};
static
const
WCHAR
emptyW
[]
=
{
0
};
static
const
WCHAR
keyW
[]
=
{
'k'
,
'e'
,
'y'
,
0
};
static
const
WCHAR
sW
[]
=
{
's'
,
0
};
static
const
WCHAR
TESTFILE2W
[]
=
{
'.'
,
'\\'
,
't'
,
'e'
,
's'
,
't'
,
'w'
,
'i'
,
'n'
,
'e'
,
'2'
,
'.'
,
'i'
,
'n'
,
'i'
,
0
};
static
const
WCHAR
valsectionW
[]
=
{
'v'
,
'a'
,
'l'
,
'_'
,
'e'
,
'_'
,
's'
,
'e'
,
'c'
,
't'
,
'i'
,
'o'
,
'n'
,
0
};
static
const
WCHAR
valnokeyW
[]
=
{
'v'
,
'a'
,
'l'
,
'_'
,
'n'
,
'o'
,
'_'
,
'k'
,
'e'
,
'y'
,
0
};
HANDLE
h
;
int
ret
;
DWORD
count
;
...
...
@@ -441,9 +441,9 @@ static void test_profile_existing(void)
static
void
test_profile_delete_on_close
(
void
)
{
static
CHAR
testfile
[]
=
".
\\
testwine5.ini"
;
HANDLE
h
;
DWORD
size
,
res
;
static
const
CHAR
testfile
[]
=
".
\\
testwine5.ini"
;
static
const
char
contents
[]
=
"["
SECTION
"]
\n
"
KEY
"=123
\n
"
;
h
=
CreateFileA
(
testfile
,
GENERIC_WRITE
,
FILE_SHARE_READ
,
NULL
,
...
...
@@ -464,7 +464,7 @@ static void test_profile_delete_on_close(void)
static
void
test_profile_refresh
(
void
)
{
static
CHAR
testfile
[]
=
".
\\
winetest4.ini"
;
static
const
CHAR
testfile
[]
=
".
\\
winetest4.ini"
;
HANDLE
h
;
DWORD
size
,
res
;
static
const
char
contents1
[]
=
"["
SECTION
"]
\n
"
KEY
"=123
\n
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment