Commit 0cd65f00 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

win32u: Remove some dead code from get_scroll_range() helper (Coverity).

parent ea82d4ee
......@@ -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;
}
......
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