diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-17 17:10:34 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-17 17:10:34 +0400 |
commit | 463898014f86d79ed096e10fa178d56641375456 (patch) | |
tree | 6cee076846bed36c0984550591a2ebbd37d61a18 /source/blender/compositor/operations | |
parent | a00cc81efb86921cb5c5db71c79528ec2c28d7a6 (diff) |
code cleanup: quiet warnings from compositor merge (builds with -Werror now in cmake)
Diffstat (limited to 'source/blender/compositor/operations')
-rw-r--r-- | source/blender/compositor/operations/COM_LensGhostOperation.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/compositor/operations/COM_LensGhostOperation.cpp b/source/blender/compositor/operations/COM_LensGhostOperation.cpp index eb957ca4756..37f0c776d9f 100644 --- a/source/blender/compositor/operations/COM_LensGhostOperation.cpp +++ b/source/blender/compositor/operations/COM_LensGhostOperation.cpp @@ -723,10 +723,12 @@ void LensGhostProjectionOperation::executePixel(float* color, float x, float y, void LensGhostOperation::executePixel(float* color, int x, int y, MemoryBuffer *inputBuffers[], void* data) { vector<LensFace*>* faces = (vector<LensFace*>*)data; - const float bokehWidth = bokehReader->getWidth(); - const float bokehHeight = bokehReader->getHeight(); - float bokeh[4]; - color[0] = 0.0f; +#if 0 /* UNUSED */ + const float bokehWidth = bokehReader->getWidth(); + const float bokehHeight = bokehReader->getHeight(); + float bokeh[4]; +#endif + color[0] = 0.0f; color[1] = 0.0f; color[2] = 0.0f; color[3] = 1.0f; |