From: dooglus Date: Fri, 25 Jan 2008 12:22:39 +0000 (+0000) Subject: Avoid a warning from g++ 4.3. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=59f41c3b3a3634a9317308fbd7e2150aa17800b1;p=synfig.git Avoid a warning from g++ 4.3. git-svn-id: http://svn.voria.com/code@1461 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/ETL/trunk/ETL/_bspline.h b/ETL/trunk/ETL/_bspline.h index 808f57d..edc00a7 100644 --- a/ETL/trunk/ETL/_bspline.h +++ b/ETL/trunk/ETL/_bspline.h @@ -116,7 +116,8 @@ public: t=0; if(t>=_knots.back()) t=_knots.back()-0.0001; - for(k=0;_knots[k]>t || _knots[k+1]<=t;k++); + for(k=0;_knots[k]>t || _knots[k+1]<=t;k++) + ; return k; }