Skip to content

Commit c804283

Browse files
authored
Fix compiler warnings
1 parent bb36b84 commit c804283

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CommandLineUtilities/ProgramDmaBench.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ class ProgramDmaBench : public Program
437437
// Thread for pushing & checking arrivals
438438
auto pushFuture = std::async(std::launch::async, [&] {
439439
try {
440-
RandomPauses pauses;
440+
RandomPauses pauses{};
441441

442442
while (!isStopDma()) {
443443
// Check if we need to stop in the case of a superpage limit
@@ -500,7 +500,7 @@ class ProgramDmaBench : public Program
500500

501501
// Readout thread (main thread)
502502
try {
503-
RandomPauses pauses;
503+
RandomPauses pauses{};
504504

505505
while (!isStopDma()) {
506506
if (!mInfinitePages && mSuperpagesReadOut.load(std::memory_order_relaxed) >= mSuperpageLimit) {

0 commit comments

Comments
 (0)