Tracker: Potential, but unlikly NULL dereference

This commit is contained in:
John Scipione 2014-07-25 19:09:26 -04:00
parent a8216d9fef
commit cf2902f4d4

View File

@ -305,6 +305,10 @@ WidgetAttributeText::WidgetAttributeText(const Model* model,
fValueIsDefined(false)
{
ASSERT(fColumn != NULL);
if (fColumn == NULL)
return;
ASSERT(fColumn->Width() > 0);
}