From e33ed6c788bd3d3a12e3bfd7411da9de112ddd7b Mon Sep 17 00:00:00 2001 From: Frank Gaede <frank.gaede@desy.de> Date: Wed, 18 Feb 2015 12:32:15 +0000 Subject: [PATCH] - removed warning about unused variables --- CMakeLists.txt | 1 + DDRec/include/DDRec/DDGear.h | 4 ++-- DDRec/src/gear/createGearForILD.cpp | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d20cfce2..9aa3fea11 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,6 +34,7 @@ option(DD4HEP_USE_GEANT4 "Enable the simulation part based on Geant4" OFF) #option(DD4HEP_USE_BOOST "build with boost - needed only if built with Geant4" OFF) option(DD4HEP_USE_GEAR "Build gear wrapper for backward compatibility" OFF) option(DD4HEP_USE_LCIO "Build lcio extensions" OFF) +option(BUILD_TESTING "Enable and build tests" ON) #For backward compatibility for now IF( DEFINED DD4HEP_WITH_GEANT4 ) diff --git a/DDRec/include/DDRec/DDGear.h b/DDRec/include/DDRec/DDGear.h index 124dc9e77..310ff7b17 100644 --- a/DDRec/include/DDRec/DDGear.h +++ b/DDRec/include/DDRec/DDGear.h @@ -69,8 +69,8 @@ namespace DD4hep { /** dummy implementation of required c'tors to allow using the extension mechanism */ - GearHandle(const Geometry::DetElement& d) : _gObj(0) {} - GearHandle(const GearHandle& c,const Geometry::DetElement& det) : _gObj(0) {} + GearHandle(const Geometry::DetElement& /*d*/) : _gObj(0) {} + GearHandle(const GearHandle& /*c*/,const Geometry::DetElement& /*det*/) : _gObj(0) {} } ; diff --git a/DDRec/src/gear/createGearForILD.cpp b/DDRec/src/gear/createGearForILD.cpp index aaed7f9bf..bce26111f 100644 --- a/DDRec/src/gear/createGearForILD.cpp +++ b/DDRec/src/gear/createGearForILD.cpp @@ -35,7 +35,7 @@ namespace DD4hep{ * @version $Id: $ */ - static long createGearForILD(LCDD& lcdd, int argc, char** argv) { + static long createGearForILD(LCDD& lcdd, int /*argc*/, char** /*argv*/) { std::cout << " **** running plugin createGearForILD ! " << std::endl ; -- GitLab