Commit 2cd225b7 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

comctl32: Removed array NULL check (Coverity).

parent 0bd55f9d
......@@ -2051,7 +2051,7 @@ TOOLTIPS_OnWMGetText (const TOOLTIPS_INFO *infoPtr, WPARAM size, LPWSTR pszText)
{
LRESULT res;
if(!infoPtr->szTipText || !size)
if(!size)
return 0;
res = min(strlenW(infoPtr->szTipText)+1, size);
......
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