Commit d619eaf4 authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

WRG: call itkNotUsed macro to fix unused parameters

parent af4f5778
......@@ -2033,7 +2033,7 @@ MainWindow
void
MainWindow
::OnApplicationToLaunchSelected( const QString & appName,
const QString & docName )
const QString & itkNotUsed(docName) )
{
assert( Application::ConstInstance()!=NULL );
assert( Application::ConstInstance()->GetOTBApplicationsModel()!=NULL );
......
......@@ -532,7 +532,7 @@ InputProcessXMLInitializer
inline
ToolTipInitializer::result_type
ToolTipInitializer
::operator () ( argument_type widget ) const
::operator () ( argument_type itkNotUsed(widget) ) const
{
assert( widget!=NULL );
......
......@@ -314,7 +314,7 @@ StackedLayerModel
/*******************************************************************************/
std::string
StackedLayerModel
::GenerateKey( AbstractLayerModel * layerModel )
::GenerateKey( AbstractLayerModel * itkNotUsed(layerModel) )
{
std::ostringstream oss;
......
......@@ -530,7 +530,7 @@ ImageViewManipulator
/******************************************************************************/
void
ImageViewManipulator
::ResizeEvent( QResizeEvent* event )
::ResizeEvent( QResizeEvent* itkNotUsed(event) )
{
assert( event!=NULL );
......
......@@ -220,7 +220,7 @@ QuicklookViewManipulator
/******************************************************************************/
void
QuicklookViewManipulator
::WheelEvent( QWheelEvent* event )
::WheelEvent( QWheelEvent* itkNotUsed(event) )
{
assert( event!=NULL );
}
......@@ -228,7 +228,7 @@ QuicklookViewManipulator
/******************************************************************************/
void
QuicklookViewManipulator
::KeyPressEvent( QKeyEvent* event )
::KeyPressEvent( QKeyEvent* itkNotUsed(event) )
{
assert( event!=NULL );
......@@ -238,7 +238,7 @@ QuicklookViewManipulator
/******************************************************************************/
void
QuicklookViewManipulator
::KeyReleaseEvent( QKeyEvent* event )
::KeyReleaseEvent( QKeyEvent* itkNotUsed(event) )
{
assert( event!=NULL );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment