From 8687a69c6f890112b7bcd7379b65754a2cce8ee6 Mon Sep 17 00:00:00 2001 From: "Stephen A. Wood" <saw@jlab.org> Date: Wed, 30 Aug 2017 17:01:31 -0400 Subject: [PATCH] Address compiler warnings in issue #245. --- src/THcPrimaryKine.cxx | 2 -- src/THcRunParameters.h | 1 + src/THcSecondaryKine.cxx | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/THcPrimaryKine.cxx b/src/THcPrimaryKine.cxx index 79d34bd..3709d67 100644 --- a/src/THcPrimaryKine.cxx +++ b/src/THcPrimaryKine.cxx @@ -185,8 +185,6 @@ Int_t THcPrimaryKine::Process( const THaEvData& ) Int_t THcPrimaryKine::ReadDatabase( const TDatime& date ) { - static const char* const here = "THcPrimaryKine::ReadDatabase"; - #ifdef WITH_DEBUG cout << "In THcPrimaryKine::ReadDatabase()" << endl; #endif diff --git a/src/THcRunParameters.h b/src/THcRunParameters.h index a9f1193..f9a0a41 100644 --- a/src/THcRunParameters.h +++ b/src/THcRunParameters.h @@ -11,6 +11,7 @@ class THcRunParameters : public THaRunParameters { public: + using THaRunParameters::operator=; THcRunParameters(); virtual ~THcRunParameters(); diff --git a/src/THcSecondaryKine.cxx b/src/THcSecondaryKine.cxx index 4dbdd8d..383f9f2 100644 --- a/src/THcSecondaryKine.cxx +++ b/src/THcSecondaryKine.cxx @@ -300,6 +300,7 @@ Int_t THcSecondaryKine::ReadDatabase( const TDatime& date ) return 0; */ //fMX = 0.938; + return kOK; } //_____________________________________________________________________________ -- GitLab