From b2d73fe3919f5c1c10d01cfa4108ea677f2ccdc0 Mon Sep 17 00:00:00 2001 From: infirit Date: Thu, 18 Dec 2014 01:07:24 +0100 Subject: Remove unnecessary assert which causes crash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Taken from GSM commit: dbc19ed7fa89ddd426028a45265ea49857272637 From: Chris Kühl Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=578520 --- src/load-graph.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/load-graph.cpp b/src/load-graph.cpp index 25e6a0a..07b0d2e 100644 --- a/src/load-graph.cpp +++ b/src/load-graph.cpp @@ -756,8 +756,6 @@ load_graph_change_speed (LoadGraph *graph, graph->speed = new_speed; - g_assert(graph->timer_index); - if(graph->timer_index) { g_source_remove (graph->timer_index); graph->timer_index = g_timeout_add (graph->speed / graph->frames_per_unit, -- cgit v1.2.1