Code cleanup: style, unused import
[blender.git] / intern / cycles / kernel / geom / geom_curve.h
index 32f6a88dce2b40d1db017394aa9dafe250b42c1f..d1f8496826c3065818e8ad0ab79b2dd74885cae6 100644 (file)
@@ -782,10 +782,10 @@ ccl_device_inline bool bvh_curve_intersect(KernelGlobals *kg, Intersection *isec
                }
 
                float z = zcentre + (dirz * correction);
-               bool backface = false;
+               // bool backface = false;
 
                if(flags & CURVE_KN_BACKFACING && (t < 0.0f || z < 0 || z > l)) {
-                       backface = true;
+                       // backface = true;
                        correction = ((-tb + rootd)/(2*a));
                        t = tcentre + correction;
                        z = zcentre + (dirz * correction);