Commit 9c15472a authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

comctl32: The return value of notify_with_scroll() is never used.

So don't bother returning something from that function.
parent cdaba885
...@@ -135,18 +135,15 @@ static inline int notify (const TRACKBAR_INFO *infoPtr, INT code) ...@@ -135,18 +135,15 @@ static inline int notify (const TRACKBAR_INFO *infoPtr, INT code)
return notify_hdr(infoPtr, code, &nmh); return notify_hdr(infoPtr, code, &nmh);
} }
static BOOL static void notify_with_scroll (const TRACKBAR_INFO *infoPtr, UINT code)
notify_with_scroll (const TRACKBAR_INFO *infoPtr, UINT code)
{ {
BOOL bVert = infoPtr->dwStyle & TBS_VERT; UINT scroll = infoPtr->dwStyle & TBS_VERT ? WM_VSCROLL : WM_HSCROLL;
TRACE("%x\n", code); TRACE("%x\n", code);
return (BOOL) SendMessageW (infoPtr->hwndNotify, SendMessageW (infoPtr->hwndNotify, scroll, code, (LPARAM)infoPtr->hwndSelf);
bVert ? WM_VSCROLL : WM_HSCROLL,
(WPARAM)code, (LPARAM)infoPtr->hwndSelf);
} }
static void TRACKBAR_RecalculateTics (TRACKBAR_INFO *infoPtr) static void TRACKBAR_RecalculateTics (TRACKBAR_INFO *infoPtr)
{ {
int tic; int tic;
......
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