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
1b3cbf52
Commit
1b3cbf52
authored
Feb 15, 2017
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 15, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Remove always true if conditions (coccinellery).
Signed-off-by:
Michael Stefaniuc
<
mstefani@redhat.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7ae50b23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
time.c
dlls/kernel32/time.c
+2
-5
No files found.
dlls/kernel32/time.c
View file @
1b3cbf52
...
@@ -1308,11 +1308,8 @@ BOOL WINAPI FileTimeToDosDateTime( const FILETIME *ft, LPWORD fatdate,
...
@@ -1308,11 +1308,8 @@ BOOL WINAPI FileTimeToDosDateTime( const FILETIME *ft, LPWORD fatdate,
}
}
unixtime
=
t
;
unixtime
=
t
;
tm
=
gmtime
(
&
unixtime
);
tm
=
gmtime
(
&
unixtime
);
if
(
fattime
)
*
fattime
=
(
tm
->
tm_hour
<<
11
)
+
(
tm
->
tm_min
<<
5
)
+
(
tm
->
tm_sec
/
2
);
*
fattime
=
(
tm
->
tm_hour
<<
11
)
+
(
tm
->
tm_min
<<
5
)
+
(
tm
->
tm_sec
/
2
);
*
fatdate
=
((
tm
->
tm_year
-
80
)
<<
9
)
+
((
tm
->
tm_mon
+
1
)
<<
5
)
+
tm
->
tm_mday
;
if
(
fatdate
)
*
fatdate
=
((
tm
->
tm_year
-
80
)
<<
9
)
+
((
tm
->
tm_mon
+
1
)
<<
5
)
+
tm
->
tm_mday
;
return
TRUE
;
return
TRUE
;
}
}
...
...
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