summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tree.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/tree.c b/src/tree.c
index 75ea06f..2a146f3 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -45,10 +45,6 @@ print_tree_recurse(MqTree *node, gsize indent)
if (node->first_child) {
print_tree_recurse(node->first_child, indent + 1);
}
-
- if (node->parent && node->parent->next) {
- print_tree_recurse(node->parent->next, indent + 1);
- }
}
}
@@ -219,13 +215,6 @@ foreach(MqTree *node, gboolean (*cb)(MqTree *node, gpointer user_data),
return MQ_TREE_STOP;
}
}
-
- if (node->parent && node->parent->next) {
- if (foreach(node->parent->next, cb, user_data) ==
- MQ_TREE_STOP) {
- return MQ_TREE_STOP;
- }
- }
}
return MQ_TREE_CONTINUE;