summaryrefslogtreecommitdiff
path: root/ufo/ufo-task-graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'ufo/ufo-task-graph.c')
-rw-r--r--ufo/ufo-task-graph.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ufo/ufo-task-graph.c b/ufo/ufo-task-graph.c
index a74e4c7..f682a0f 100644
--- a/ufo/ufo-task-graph.c
+++ b/ufo/ufo-task-graph.c
@@ -317,7 +317,7 @@ build_remote_graph (UfoTaskGraph *remote_graph,
GList *first,
GList *last)
{
- UfoTaskNode *node;
+ UfoTaskNode *node = NULL;
UfoTaskNode *predecessor = NULL;
for (GList *it = g_list_next (first); it != last; it = g_list_next (it)) {
@@ -329,6 +329,7 @@ build_remote_graph (UfoTaskGraph *remote_graph,
predecessor = node;
}
+ g_assert (node != NULL);
return node;
}