diff --git a/Code/Visu/otbImageWidgetFormBase.h b/Code/Visu/otbImageWidgetFormBase.h index b0d211f662b68dd6fa44677b9f7d652cc66edc74..88054bfbf2e9250d79d5e83e07f5eea05722d28d 100644 --- a/Code/Visu/otbImageWidgetFormBase.h +++ b/Code/Visu/otbImageWidgetFormBase.h @@ -82,7 +82,7 @@ public: * \param windowh The window height, * \param ss_rate The subsampling rate. */ - virtual void Draw(double openGlZoom, unsigned int originx, unsigned int originy, unsigned int windowh, unsigned int ss_rate) {}; + virtual void Draw(double /*openGlZoom*/, unsigned int /*originx*/, unsigned int /*originy*/, unsigned int /*windowh*/, unsigned int /*ss_rate*/) {}; virtual RegionType GetRegion(void) { diff --git a/Code/Visualization/otbRenderingFunction.h b/Code/Visualization/otbRenderingFunction.h index fea9097e625bc9484113ad8ba091bde7fc448cd5..c49d1dcd9d45e010b5cccf05bcfea466bf99208c 100644 --- a/Code/Visualization/otbRenderingFunction.h +++ b/Code/Visualization/otbRenderingFunction.h @@ -116,7 +116,7 @@ public: itkExceptionMacro(<<"Subclasses should override this method"); } - virtual void SetChannelList(std::vector<unsigned int>& channels) + virtual void SetChannelList(std::vector<unsigned int>& /*channels*/) { itkExceptionMacro(<<"Subclasses should override this method"); } @@ -126,7 +126,7 @@ public: itkExceptionMacro(<<"Subclasses should override this method"); } - virtual void SetAutoMinMax(bool autoMinMax) + virtual void SetAutoMinMax(bool /*autoMinMax*/) { itkExceptionMacro(<<"Subclasses should override this method"); }