Kaydet (Commit) f1a5b286 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1315003 Dereference null return value

Change-Id: I85a85e10d727e53f93d0c41c1f9896b4319919af
üst 1bc0cd0e
......@@ -34,10 +34,9 @@ void FolderTree::FillTreeEntry( SvTreeListEntry* pEntry )
{
if( pEntry )
{
while( GetChildCount( pEntry ) > 0 )
while (SvTreeListEntry* pChild = FirstChild(pEntry))
{
SvTreeListEntry* pChild = FirstChild( pEntry );
GetModel()->Remove( pChild );
GetModel()->Remove(pChild);
}
::std::vector< SortingData_Impl* > aContent;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment