From: dooglus Date: Tue, 1 Jan 2008 14:50:02 +0000 (+0000) Subject: Prevent a compiler warning. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=694ac4cac25a21e035d82ccd874a94b741b9393a;p=synfig.git Prevent a compiler warning. git-svn-id: http://svn.voria.com/code@1244 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/synfig/timepointcollect.cpp b/synfig-core/trunk/src/synfig/timepointcollect.cpp index abbfc76..7d857d8 100644 --- a/synfig-core/trunk/src/synfig/timepointcollect.cpp +++ b/synfig-core/trunk/src/synfig/timepointcollect.cpp @@ -146,7 +146,7 @@ synfig::activepoint_collect(set >& /*activepoin const TimePointSet& timepoint_set(node->get_times()); // Check to see if there is anything in here at the given time - if(timepoint_set.find(time)==timepoint_set.end()); + if(timepoint_set.find(time)==timepoint_set.end()) return 0; return 0;