From 3a92482c70994464c990e6a91f59fa51ec137806 Mon Sep 17 00:00:00 2001 From: Alex Buts Date: Thu, 10 Nov 2011 13:08:40 +0000 Subject: [PATCH] refs #3763 Fixing Unix warning (to see where the error actually come from) --- .../Framework/Kernel/inc/MantidKernel/CompositeValidator.h | 1 + Code/Mantid/MantidQt/API/inc/MantidQtAPI/AlgorithmDialog.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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. */ //@{