From 10820bd41d400c8cd206ca27ddf304a116563ca3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 5 May 2014 11:58:45 +0100 Subject: [PATCH] ges-launch: remove dead code duration can't be smaller than 0 because it's unsigned, and it can't be 0 because 0 is transformed to CLOCK_TIME_NONE earlier. Coverity CID 1211822. --- tools/ges-launch.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tools/ges-launch.c b/tools/ges-launch.c index fdceb6b..e4ec8d6 100644 --- a/tools/ges-launch.c +++ b/tools/ges-launch.c @@ -329,11 +329,6 @@ create_timeline (int nbargs, gchar ** argv, const gchar * proj_uri) } else if (!g_strcmp0 ("+transition", source)) { - if (duration <= 0) { - g_error ("durations must be greater than 0"); - goto build_failure; - } - clip = GES_CLIP (ges_transition_clip_new_for_nick (arg0)); if (!clip) { -- 2.7.4