Merge pull request #2376 from PhenomRetroShare/Fix_RemoveBadRS_ERRInFriendListModel

Fix Remove bad RS_ERR in FriendListModel
This commit is contained in:
csoler 2021-03-18 23:02:15 +01:00 committed by GitHub
commit 7559b06c6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -236,7 +236,8 @@ RsFriendListModel::EntryIndex RsFriendListModel::EntryIndex::parent() const
i.node_index = UNDEFINED_NODE_INDEX_VALUE;
break;
case ENTRY_TYPE_UNKNOWN:
RS_ERR("Unknown Entry type for parent.");
//Can be when request root index.
break;
}
return i;