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:
Nikolay Sivov 2017-04-30 22:16:22 +03:00 committed by Alexandre Julliard
parent 627630c262
commit b1d46e0b5f
1 changed files with 1 additions and 2 deletions

View File

@ -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);