[geary/mjog/mail-merge-plugin: 62/71] Sidebar.Branch: Remove some harmless asserts
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/mjog/mail-merge-plugin: 62/71] Sidebar.Branch: Remove some harmless asserts
- Date: Wed, 5 Aug 2020 05:00:49 +0000 (UTC)
commit 0679ab2f5336a25d8306257aeab80ef342014175
Author: Michael Gratton <mike vee net>
Date: Fri Jul 17 17:58:06 2020 +1000
Sidebar.Branch: Remove some harmless asserts
src/client/sidebar/sidebar-branch.vala | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/src/client/sidebar/sidebar-branch.vala b/src/client/sidebar/sidebar-branch.vala
index d641a3000..934194fab 100644
--- a/src/client/sidebar/sidebar-branch.vala
+++ b/src/client/sidebar/sidebar-branch.vala
@@ -68,12 +68,9 @@ public class Sidebar.Branch : Geary.BaseObject {
children = new Gee.TreeSet<Node>(comparator_wrapper);
bool added = children.add(child);
- assert(added);
}
public void remove_child(Node child) {
- assert(children != null);
-
Gee.SortedSet<Node> new_children = new Gee.TreeSet<Node>(comparator_wrapper);
// For similar reasons as in reorder_child(), can't rely on TreeSet to locate this
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]