Skip to content

Commit

Permalink
Fix warnings newly detected by latest oneapi
Browse files Browse the repository at this point in the history
  • Loading branch information
scottwittenburg authored and vicentebolea committed Jul 11, 2023
1 parent 008b516 commit 74c5b9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
13 changes: 1 addition & 12 deletions source/adios2/engine/bp5/BP5Reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -385,20 +385,9 @@ void BP5Reader::PerformGets()
}*/

// wait for all async threads
int tid = 1;
for (auto &f : futures)
{
/*auto t = */ f.get();
/*double tSubfile = std::get<0>(t);
double tRead = std::get<1>(t);
double tCopy = std::get<2>(t);
size_t nReads = std::get<3>(t);
std::cout << " -> PerformGets() thread " << tid
<< " total = " << tSubfile + tRead + tCopy
<< "s, subfile = " << tSubfile << "s, read = " << tRead
<< "s, copy = " << tCopy << ", nReads = " << nReads
<< std::endl;*/
++tid;
f.get();
}
}
else
Expand Down
2 changes: 0 additions & 2 deletions source/adios2/engine/dataman/DataManWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,6 @@ void DataManWriter::Handshake()

void DataManWriter::ReplyThread()
{
int readerCount = 0;
while (m_ReplyThreadActive)
{
auto request = m_Replier.ReceiveRequest();
Expand All @@ -384,7 +383,6 @@ void DataManWriter::ReplyThread()
else if (r == "Ready")
{
m_Replier.SendReply("OK", 2);
++readerCount;
}
else if (r == "Step")
{
Expand Down

0 comments on commit 74c5b9d

Please sign in to comment.