summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tree.c b/src/tree.c
index 0d188b5..fc82cf6 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -125,7 +125,8 @@ MqTree *
mq_tree_seek(MqTree *node, gint offset)
{
/* XXX: Only forward seeking from a tree's root is supported. */
- g_assert(node && node->position == 0);
+ g_assert(node);
+ g_assert(node->position == 0);
g_assert(offset > 0);
/* Skip forward to the containing subtree. */