Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-02-12 08:12:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-12 08:12:26 +0300
commit92672d0c1c2797d0068f5f71b13b5e521253b618 (patch)
tree38edc43df2ed2dbf44e3170e9e9fb9a45df8da2d /intern/smoke
parent5470a7af5dfd3a3f8070bddfd8dab496c6229720 (diff)
quiet some clang warnings.
Diffstat (limited to 'intern/smoke')
-rw-r--r--intern/smoke/intern/FLUID_3D.cpp4
1 files changed, 2 insertions, 2 deletions
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++)
{