Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0cd65f00
Commit
0cd65f00
authored
Jul 22, 2022
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Remove some dead code from get_scroll_range() helper (Coverity).
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
parent
ea82d4ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
scroll.c
dlls/win32u/scroll.c
+2
-2
No files found.
dlls/win32u/scroll.c
View file @
0cd65f00
...
...
@@ -1242,8 +1242,8 @@ static BOOL get_scroll_range( HWND hwnd, int nBar, int *min, int *max )
struct
scroll_info
*
info
;
if
(
!
(
info
=
get_scroll_info_ptr
(
hwnd
,
nBar
,
FALSE
)))
return
FALSE
;
if
(
min
)
*
min
=
info
?
info
->
minVal
:
0
;
if
(
max
)
*
max
=
info
?
info
->
maxVal
:
0
;
if
(
min
)
*
min
=
info
->
minVal
;
if
(
max
)
*
max
=
info
->
maxVal
;
release_scroll_info_ptr
(
info
);
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