Skip to content

Commit b1e0b22

Browse files
committed
Replace return by continue.
1 parent 2c6d134 commit b1e0b22

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Validation/HGCalValidation/plugins/BarrelValidator.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ void BarrelValidator::dqmAnalyze(const edm::Event& event,
287287

288288
if (!hitsHandle.isValid()) {
289289
edm::LogWarning("MissingInput") << "Missing " << hits_labels_[i] << " handle.";
290-
return;
290+
continue;
291291
}
292292

293293
barrelRechitSpan.add(*hitsHandle);

Validation/HGCalValidation/plugins/HGCalValidator.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ void HGCalValidator::dqmAnalyze(const edm::Event& event,
423423

424424
if (!hitsHandle.isValid()) {
425425
edm::LogWarning("MissingInput") << "Missing " << hits_labels_[i] << " handle.";
426-
return;
426+
continue;
427427
}
428428

429429
rechitSpan.add(*hitsHandle);

0 commit comments

Comments
 (0)