diff --git a/examples/cpp/benchmark/PublisherApp.cpp b/examples/cpp/benchmark/PublisherApp.cpp index ac4d1f78a9..77c060450f 100644 --- a/examples/cpp/benchmark/PublisherApp.cpp +++ b/examples/cpp/benchmark/PublisherApp.cpp @@ -67,7 +67,6 @@ PublisherApp::PublisherApp( , count(0) , vSamples(0) , startTime(std::chrono::steady_clock::now()) - , sent(0) { if (samples_ > 0) diff --git a/examples/cpp/benchmark/PublisherApp.hpp b/examples/cpp/benchmark/PublisherApp.hpp index 7c8082e81e..1bdc6b8d6f 100644 --- a/examples/cpp/benchmark/PublisherApp.hpp +++ b/examples/cpp/benchmark/PublisherApp.hpp @@ -125,8 +125,6 @@ class PublisherApp : public Application, public DataWriterListener, public DataR std::vector vSamples; std::chrono::time_point startTime; - - uint8_t sent; }; } // namespace benchmark