Fix CID991683: Uninitalized scalar field

fOldTitleUSerDefined was (surprice-surprice!) not defined.
This commit is contained in:
Siarzhuk Zharski 2013-04-05 17:12:06 +02:00
parent 34a1a44dad
commit b249a7ce43

View File

@ -32,6 +32,7 @@ SetTitleDialog::SetTitleDialog(const char* dialogTitle, const char* label,
B_AUTO_UPDATE_SIZE_LIMITS | B_CLOSE_ON_ESCAPE),
fListener(NULL),
fTitle(),
fOldTitleUserDefined(false),
fTitleUserDefined(false)
{
BLayoutBuilder::Group<>(this, B_VERTICAL)