Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Generators/src/GeneratorFileOrCmd.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ bool GeneratorFileOrCmd::makeTemp(const bool& fromName)
mTemporary = std::string(buf);
mFileNames.push_back(mTemporary);
close(fp);
}
}
return true;
}
// -----------------------------------------------------------------
Expand Down Expand Up @@ -209,7 +209,7 @@ bool GeneratorFileOrCmd::removeFifo() const
LOG(info) << "Removed FIFO " << p;
}
}
}
}
return true;
}
// -----------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Generators/src/GeneratorTParticle.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Bool_t GeneratorTParticle::Init()
mChain->SetBranchAddress(mBranchName.c_str(), &mTParticles);

if (not mCmd.empty()) {
if(mFileNames.empty()) {
if (mFileNames.empty()) {
// Set filename to be a temporary name
if (not makeTemp(false)) {
return false;
Expand Down