From c8263d299eed85f43bc4a67f8cece5fce6aa6836 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 11 Oct 2012 14:06:48 +0100 Subject: Tree can't be NULL. --- desktop/tree.c | 1 + 1 file changed, 1 insertion(+) (limited to 'desktop') diff --git a/desktop/tree.c b/desktop/tree.c index c52dc0723..8517cc122 100644 --- a/desktop/tree.c +++ b/desktop/tree.c @@ -753,6 +753,7 @@ static void tree_handle_node_changed(struct tree *tree, struct node *node, int node_width, node_height, tree_width, tree_height; assert(node != NULL); + assert(tree != NULL); node_width = node->box.width; node_height = node->box.height; -- cgit v1.2.3