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
85dea193
Commit
85dea193
authored
Aug 09, 2016
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Aug 10, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Remove an identical if / else branch.
Signed-off-by:
Michael Stefaniuc
<
mstefani@redhat.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3e6b503a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
path.c
dlls/kernel32/tests/path.c
+2
-9
No files found.
dlls/kernel32/tests/path.c
View file @
85dea193
...
...
@@ -187,15 +187,8 @@ static void test_ValidPathA(const CHAR *curdir, const CHAR *subdir, const CHAR *
len
=
pGetLongPathNameA
(
fullpath
,
tmpstr
,
MAX_PATH
);
if
(
passfail
==
NULL
)
{
ok
(
len
,
"%s: GetLongPathNameA failed
\n
"
,
errstr
);
if
(
HAS_TRAIL_SLASH_A
(
fullpath
))
{
ok
(
lstrcmpiA
(
fullpathlong
,
tmpstr
)
==
0
,
"%s: GetLongPathNameA returned '%s' instead of '%s'
\n
"
,
errstr
,
tmpstr
,
fullpathlong
);
}
else
{
ok
(
lstrcmpiA
(
fullpathlong
,
tmpstr
)
==
0
,
"%s: GetLongPathNameA returned '%s' instead of '%s'
\n
"
,
errstr
,
tmpstr
,
fullpathlong
);
}
ok
(
!
lstrcmpiA
(
fullpathlong
,
tmpstr
),
"%s: GetLongPathNameA returned '%s' instead of '%s'
\n
"
,
errstr
,
tmpstr
,
fullpathlong
);
}
else
{
passfail
->
longlen
=
len
;
passfail
->
longerror
=
GetLastError
();
...
...
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