PVS: V595 A pointer was utilized before it was verified against nullptr
This commit is contained in:
@@ -412,7 +412,7 @@ void PropertyView::onTimer() {
|
||||
vp->getPropertyMap(viewList);
|
||||
|
||||
// store the properties with <name,id> as key in a map
|
||||
if (ob) {
|
||||
{
|
||||
for (auto prop : dataList) {
|
||||
if (isPropertyHidden(prop))
|
||||
continue;
|
||||
@@ -432,7 +432,7 @@ void PropertyView::onTimer() {
|
||||
}
|
||||
}
|
||||
// the same for the view properties
|
||||
if (vp) {
|
||||
{
|
||||
std::map<std::string, App::Property*>::iterator pt;
|
||||
for (pt = viewList.begin(); pt != viewList.end(); ++pt) {
|
||||
if (isPropertyHidden(pt->second))
|
||||
|
||||
Reference in New Issue
Block a user