Skip to content

Commit 7ecc9e0

Browse files
committed
Fixing stray lint warnings
1 parent cca6730 commit 7ecc9e0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/CIBApplication.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,12 @@ CIBApplication::generate_modules(const confmodel::Session* session) const
138138
// ----------------------------
139139
// create DLH
140140
// ----------------------------
141-
int det_id = 1; // TODO Eric Flumerfelt <eflumerf@fnal.gov>, 08-Feb-2024: This is a magic number corresponding to kDAQ
141+
int det_id = 1; // TODO Eric Flumerfelt <eflumerf@fnal.gov>, 08-Feb-2024: This is a magic number corresponding to kDAQ // NOLINT(readability/todo)
142142
TLOG() << "creating OKS configuration object for CIB Data Link Handler class " << dlhClass << ", id " << id;
143143
std::string uid("DLH-CIB");
144144
conffwk::ConfigObject dlhObj = obj_fac.create( dlhClass, uid );
145-
dlhObj.set_by_val<uint32_t>("source_id", static_cast<uint32_t>(id));
146-
dlhObj.set_by_val<uint32_t>("detector_id", static_cast<uint32_t>(det_id));
145+
dlhObj.set_by_val<uint32_t>("source_id", static_cast<uint32_t>(id)); // NOLINT(build/unsigned)
146+
dlhObj.set_by_val<uint32_t>("detector_id", static_cast<uint32_t>(det_id)); // NOLINT(build/unsigned)
147147
dlhObj.set_by_val<bool>("post_processing_enabled", false);
148148
dlhObj.set_obj("module_configuration", &dlhConf->config_object());
149149

@@ -215,7 +215,7 @@ nlohmann::json CIBoardConf::get_cib_json(const dunedaq::confmodel::Session &sess
215215
{
216216
json["sockets"]["receiver"] = nlohmann::json::object();
217217
json["sockets"]["receiver"]["host"] = get_receiver_host();
218-
json["sockets"]["receiver"]["port"] = get_receiver_port();
218+
json["sockets"]["receiver"]["port"] = get_receiver_port(); // NOLINT(build/unsigned)
219219
}
220220

221221
TLOG() << "JSON frag : [" << json.dump() << "] " ;

0 commit comments

Comments
 (0)