Skip to content

Commit 5669070

Browse files
committed
Fix cpplint
1 parent 93a9db9 commit 5669070

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

PWGCF/JCorran/Tasks/jflucWeightsLoader.cxx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,7 @@ struct JflucWeightsLoader {
117117
delete pfeff;
118118
pfeff = 0;
119119
LOGF(fatal, "Efficiency correction weights file not found: %s", cfgPathEffWeights.value.substr(8).c_str());
120-
}
121-
//
122-
if (!(pheff = pfeff->Get<THnF>("ccdb_object"))) {
120+
} else if (!(pheff = pfeff->Get<THnF>("ccdb_object"))) {
123121
LOGF(warning, "Efficiency correction histogram not found.");
124122
} else {
125123
LOGF(info, "Loaded efficiency correction histogram locally.");

0 commit comments

Comments
 (0)