From 59f41c3b3a3634a9317308fbd7e2150aa17800b1 Mon Sep 17 00:00:00 2001 From: dooglus Date: Fri, 25 Jan 2008 12:22:39 +0000 Subject: [PATCH] Avoid a warning from g++ 4.3. git-svn-id: http://svn.voria.com/code@1461 1f10aa63-cdf2-0310-b900-c93c546f37ac --- ETL/trunk/ETL/_bspline.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.7.4