From f51d7b109eb8b5ba07fd47fc7e6cb055da73e112 Mon Sep 17 00:00:00 2001 From: Javier Gil Aviles Date: Mon, 16 Dec 2024 09:21:46 +0100 Subject: [PATCH] Refs #22321: Delate unused variable from PublisherApp.hpp Signed-off-by: Javier Gil Aviles --- examples/cpp/benchmark/PublisherApp.cpp | 1 - examples/cpp/benchmark/PublisherApp.hpp | 2 -- 2 files changed, 3 deletions(-) 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