From 92672d0c1c2797d0068f5f71b13b5e521253b618 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 12 Feb 2011 05:12:26 +0000 Subject: quiet some clang warnings. --- intern/smoke/intern/FLUID_3D.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'intern/smoke') diff --git a/intern/smoke/intern/FLUID_3D.cpp b/intern/smoke/intern/FLUID_3D.cpp index 05fbb918d24..27218d2682c 100644 --- a/intern/smoke/intern/FLUID_3D.cpp +++ b/intern/smoke/intern/FLUID_3D.cpp @@ -605,7 +605,7 @@ void FLUID_3D::copyBorderAll(float* field, int zBegin, int zEnd) int zSize = zEnd-zBegin; int _blockTotalCells=_slabSize * zSize; - if ((zBegin==0)) + if (zBegin==0) for (int y = 0; y < _yRes; y++) for (int x = 0; x < _xRes; x++) { @@ -723,7 +723,7 @@ void FLUID_3D::wipeBoundariesSL(int zBegin, int zEnd) const int totalCells = _xRes * _yRes * _zRes; index = 0; - if ((zBegin == 0)) + if (zBegin == 0) for (y = 0; y < _yRes; y++) for (x = 0; x < _xRes; x++, index++) { -- cgit v1.2.3