diff options
author | David Robillard <d@drobilla.net> | 2024-10-06 16:05:02 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-10-06 18:40:03 -0400 |
commit | f3d9a68bfee80c57854369724de57f339ac0b5e1 (patch) | |
tree | 4e50b0bc61d109c764e209f863a35a99e2c1de21 /src/client/ClientStore.cpp | |
parent | c0d9922baf587a275456b13b0c99bd4465a3536f (diff) | |
download | ingen-f3d9a68bfee80c57854369724de57f339ac0b5e1.tar.gz ingen-f3d9a68bfee80c57854369724de57f339ac0b5e1.tar.bz2 ingen-f3d9a68bfee80c57854369724de57f339ac0b5e1.zip |
Remove redundant conditional clause
Diffstat (limited to 'src/client/ClientStore.cpp')
-rw-r--r-- | src/client/ClientStore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp index 7cfd439d..66a8d3b6 100644 --- a/src/client/ClientStore.cpp +++ b/src/client/ClientStore.cpp @@ -79,7 +79,7 @@ ClientStore::add_object(const std::shared_ptr<ObjectModel>& object) assert(object->path().is_child_of(parent->path())); object->set_parent(parent); parent->add_child(object); - assert(parent && (object->parent() == parent)); + assert(object->parent() == parent); (*this)[object->path()] = object; _signal_new_object.emit(object); |