Skip to content
Snippets Groups Projects
Commit 485c2ce2 authored by Jorge Camarero Vera's avatar Jorge Camarero Vera
Browse files

Resolve "Problem with cppcheck"

parent 66f2ea92
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
- cta/CTA#238 - Compilation fails when using cta::common::Configuration::getConfEntInt(...) - cta/CTA#238 - Compilation fails when using cta::common::Configuration::getConfEntInt(...)
- cta/CTA#273 - Fix tape state change command idempotency when resetting REPACKING/BROKEN/PENDING - cta/CTA#273 - Fix tape state change command idempotency when resetting REPACKING/BROKEN/PENDING
- cta/CTA#280 - Add a timeout to tape server global lock on the object store - cta/CTA#280 - Add a timeout to tape server global lock on the object store
- cta/CTA#292 - Problem with cppcheck
### Continuous Integration ### Continuous Integration
- cta/CTA#205 - Updating EOS4/EOS4 in versionlock for v4.8.95/v5.1.5 - cta/CTA#205 - Updating EOS4/EOS4 in versionlock for v4.8.95/v5.1.5
- cta/CTA#253 - Allow Failure for cta_valgrind tests - cta/CTA#253 - Allow Failure for cta_valgrind tests
......
...@@ -483,7 +483,7 @@ struct ContainerTraits<RetrieveQueue,RetrieveQueueToTransfer>::PoppedElementsSum ...@@ -483,7 +483,7 @@ struct ContainerTraits<RetrieveQueue,RetrieveQueueToTransfer>::PoppedElementsSum
uint64_t bytes; uint64_t bytes;
bool diskSystemFull = false; bool diskSystemFull = false;
std::string fullDiskSystem; std::string fullDiskSystem;
PoppedElementsSummary(uint64_t f = 0, uint64_t b = 0) : files(f), bytes(b) {} PoppedElementsSummary(uint64_t f = 0, uint64_t b = 0) : files(f), bytes(b) {} // cppcheck-suppress uninitMemberVar
bool operator==(const PoppedElementsSummary &pes) const { bool operator==(const PoppedElementsSummary &pes) const {
return bytes == pes.bytes && files == pes.files; return bytes == pes.bytes && files == pes.files;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment