Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed unused code from IOPool/Streamer #3575

Merged
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions IOPool/Streamer/src/StreamSerializer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ namespace edm {
FDEBUG(6) << "StreamSerializer::serializeRegistry" << std::endl;
SendJobHeader sd;

SelectedProducts::const_iterator i(selections_->begin()), e(selections_->end());

FDEBUG(9) << "Product List: " << std::endl;


Expand Down Expand Up @@ -135,7 +133,6 @@ namespace edm {
selectionIDs.push_back(selectorConfig);
SendEvent se(eventPrincipal.aux(), eventPrincipal.processHistory(), selectionIDs, eventPrincipal.branchListIndexes());

SelectedProducts::const_iterator i(selections_->begin()),ie(selections_->end());
// Loop over EDProducts, fill the provenance, and write.

for(SelectedProducts::const_iterator i = selections_->begin(), iEnd = selections_->end(); i != iEnd; ++i) {
Expand Down
4 changes: 2 additions & 2 deletions IOPool/Streamer/src/StreamerOutputModuleBase.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
namespace {
//A utility function that packs bits from source into bytes, with
// packInOneByte as the numeber of bytes that are packed from source to dest.
inline void printBits(unsigned char c) {
/* inline void printBits(unsigned char c) {
for (int i = 7; i >= 0; --i) {
int bit = ((c >> i) & 1);
std::cout << " " << bit;
}
}
} */

void packIntoString(std::vector<unsigned char> const& source,
std::vector<unsigned char>& package) {
Expand Down