diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-23 16:08:48 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-23 16:08:48 (EDT) |
commit | 971b7357fd741fac5f501982cd73925de76e9cc4 (patch) | |
tree | dc1dcae4b637f4b1fe547b5ff4222b858170c656 | |
parent | 5a8791bf727cb3d631ad064f3378c92e6d27d248 (diff) | |
download | marquee-971b7357fd741fac5f501982cd73925de76e9cc4.zip marquee-971b7357fd741fac5f501982cd73925de76e9cc4.tar.gz marquee-971b7357fd741fac5f501982cd73925de76e9cc4.tar.bz2 |
mq_tree_seek(): Split assertion
-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. */ |