Skip to content

Commit 65d89ce

Browse files
authored
Merge pull request #11 from DUNE-DAQ/kbiery/reduce_compiler_warnings
Made a few minor changes in CRTBernReaderModule.cpp and CRTGrenobleRe…
2 parents 4db05aa + b05fe98 commit 65d89ce

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

plugins/CRTBernReaderModule.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ constexpr uint64_t source_id = 1002;
5757
void
5858
fake_sequence_id(uint64_t& seq_id)
5959
{
60-
seq_id = seq_id == max_seq_id ? 0 : ++seq_id;
60+
seq_id = (seq_id == max_seq_id ? 0 : seq_id+1);
6161
}
6262

6363
/**
@@ -163,7 +163,7 @@ CRTBernReaderModule::init(const std::shared_ptr<appfwk::ConfigurationManager> mf
163163
}
164164

165165
void
166-
CRTBernReaderModule::do_conf(const nlohmann::json& obj)
166+
CRTBernReaderModule::do_conf(const nlohmann::json& /*obj*/)
167167
{
168168
// Configure HW interface?
169169
if (!m_run_marker.load()) {

plugins/CRTGrenobleReaderModule.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ constexpr uint64_t source_id = 1001;
5757
void
5858
fake_sequence_id(uint64_t& seq_id)
5959
{
60-
seq_id = seq_id == max_seq_id ? 0 : ++seq_id;
60+
seq_id = (seq_id == max_seq_id ? 0 : seq_id+1);
6161
}
6262

6363
/**
@@ -163,7 +163,7 @@ CRTGrenobleReaderModule::init(const std::shared_ptr<appfwk::ConfigurationManager
163163
}
164164

165165
void
166-
CRTGrenobleReaderModule::do_conf(const nlohmann::json& obj)
166+
CRTGrenobleReaderModule::do_conf(const nlohmann::json& /*obj*/)
167167
{
168168
// Configure HW interface?
169169
if (!m_run_marker.load()) {

0 commit comments

Comments
 (0)