diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. */ |