comctl32/taskdialog: Remove superfluous title pointer check (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
627630c262
commit
b1d46e0b5f
|
@ -271,8 +271,7 @@ static DLGTEMPLATE *create_taskdialog_template(const TASKDIALOGCONFIG *taskconfi
|
|||
title_size = (strlenW(titleW) + 1) * sizeof(WCHAR);
|
||||
|
||||
size = sizeof(DLGTEMPLATE) + 2 * sizeof(WORD);
|
||||
if (titleW)
|
||||
size += title_size;
|
||||
size += title_size;
|
||||
size += 2; /* font size */
|
||||
|
||||
list_init(&desc.controls);
|
||||
|
|
Loading…
Reference in New Issue