Avoid a warning from g++ 4.3.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 25 Jan 2008 12:22:39 +0000 (12:22 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 25 Jan 2008 12:22:39 +0000 (12:22 +0000)
git-svn-id: http://svn.voria.com/code@1461 1f10aa63-cdf2-0310-b900-c93c546f37ac

ETL/trunk/ETL/_bspline.h

index 808f57d..edc00a7 100644 (file)
@@ -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;
        }