Tracker: Potential, but unlikly NULL dereference
This commit is contained in:
parent
a8216d9fef
commit
cf2902f4d4
@ -305,6 +305,10 @@ WidgetAttributeText::WidgetAttributeText(const Model* model,
|
|||||||
fValueIsDefined(false)
|
fValueIsDefined(false)
|
||||||
{
|
{
|
||||||
ASSERT(fColumn != NULL);
|
ASSERT(fColumn != NULL);
|
||||||
|
|
||||||
|
if (fColumn == NULL)
|
||||||
|
return;
|
||||||
|
|
||||||
ASSERT(fColumn->Width() > 0);
|
ASSERT(fColumn->Width() > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user