diff --git a/Code/Mantid/Framework/Kernel/inc/MantidKernel/CompositeValidator.h b/Code/Mantid/Framework/Kernel/inc/MantidKernel/CompositeValidator.h index 72ec939e8d0b..dc148ef3c7a3 100644 --- a/Code/Mantid/Framework/Kernel/inc/MantidKernel/CompositeValidator.h +++ b/Code/Mantid/Framework/Kernel/inc/MantidKernel/CompositeValidator.h @@ -113,6 +113,7 @@ namespace Kernel virtual void modify_validator(IValidator *pNewValidator) { + UNUSED_ARG(pNewValidator); } private: /// Private Copy constructor: NO DIRECT COPY ALLOWED diff --git a/Code/Mantid/MantidQt/API/inc/MantidQtAPI/AlgorithmDialog.h b/Code/Mantid/MantidQt/API/inc/MantidQtAPI/AlgorithmDialog.h index 15c3bcc2bbba..ce25d7ee6bdc 100644 --- a/Code/Mantid/MantidQt/API/inc/MantidQtAPI/AlgorithmDialog.h +++ b/Code/Mantid/MantidQt/API/inc/MantidQtAPI/AlgorithmDialog.h @@ -248,13 +248,13 @@ protected slots: @pProp -- the pointer to the property @row -- the vertical position of the property widget within the initated dialog box Should be pure virtual but as current custom vidgets do not use it, made empty unless overloaded */ - virtual void createSpecificPropertyWidget(Mantid::Kernel::Property *pProp, int row){}; + virtual void createSpecificPropertyWidget(Mantid::Kernel::Property *, int ){}; /** The function deletes widgets, associated with property; It used in dynamic propeties, which change as property contents, validators or settings change @pProp -- the pointer to the property returns-- the vertical position of the composite widget within the widget window; Should be pure virtual but as current custom vidgets do not use it, made empty unless overloaded */ - virtual int deletePropertyWidgets(Mantid::Kernel::Property *pProp){return -1;} + virtual int deletePropertyWidgets(Mantid::Kernel::Property *){return -1;} /** @name Member variables. */ //@{