diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-06-28 16:32:06 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-06-28 16:32:06 +0400 |
commit | c8c743b60947ca4a5ba85d66b2abccf60c504a53 (patch) | |
tree | 91b671281d032fe8a14827356c2d97e4cc25278b /source/blender/compositor | |
parent | 57b69abe0d3263c4f03d453d896ee9527c75d673 (diff) |
code cleanup: compile with clang and quiet some warnings.
Diffstat (limited to 'source/blender/compositor')
3 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/compositor/intern/COM_MemoryProxy.h b/source/blender/compositor/intern/COM_MemoryProxy.h index f02da215b5f..130c5f5057a 100644 --- a/source/blender/compositor/intern/COM_MemoryProxy.h +++ b/source/blender/compositor/intern/COM_MemoryProxy.h @@ -50,12 +50,12 @@ private: /** * @brief datatype of this MemoryProxy */ - DataType m_datatype; + /* DataType m_datatype; */ /* UNUSED */ /** * @brief channel information of this buffer */ - ChannelInfo m_channelInfo[COM_NUMBER_OF_CHANNELS]; + /* ChannelInfo m_channelInfo[COM_NUMBER_OF_CHANNELS]; */ /* UNUSED */ /** * @brief the allocated memory diff --git a/source/blender/compositor/operations/COM_BlurBaseOperation.cpp b/source/blender/compositor/operations/COM_BlurBaseOperation.cpp index d1ddecc0df6..696c0748d69 100644 --- a/source/blender/compositor/operations/COM_BlurBaseOperation.cpp +++ b/source/blender/compositor/operations/COM_BlurBaseOperation.cpp @@ -27,8 +27,9 @@ extern "C" { #include "RE_pipeline.h" } -BlurBaseOperation::BlurBaseOperation(DataType data_type=COM_DT_COLOR) : NodeOperation() +BlurBaseOperation::BlurBaseOperation(DataType data_type) : NodeOperation() { + /* data_type is almost always COM_DT_COLOR except for alpha-blur */ this->addInputSocket(data_type); this->addInputSocket(COM_DT_VALUE); this->addOutputSocket(data_type); diff --git a/source/blender/compositor/operations/COM_ChannelMatteOperation.h b/source/blender/compositor/operations/COM_ChannelMatteOperation.h index 859df200020..5bc13736dda 100644 --- a/source/blender/compositor/operations/COM_ChannelMatteOperation.h +++ b/source/blender/compositor/operations/COM_ChannelMatteOperation.h @@ -32,7 +32,7 @@ class ChannelMatteOperation : public NodeOperation { private: SocketReader *m_inputImageProgram; - int m_color_space; /* node->custom1 */ + /* int m_color_space; */ /* node->custom1 */ /* UNUSED */ /* TODO ? */ int m_matte_channel; /* node->custom2 */ int m_limit_method; /* node->algorithm */ int m_limit_channel; /* node->channel */ |