Fix -Wunused-variable warnings

This change fixes warnings for unused variables that were
enabled by a recent Clang flag update.

This commit was generated by Gemini.

Bug: 315246135
Test: presubmit
Flag: EXEMPT, code cleanup
Change-Id: Ic2548c8ceaf3cee978a84f46331b420e5edd0fff
diff --git a/src/IOUringSocketHandlerBenchmark.cpp b/src/IOUringSocketHandlerBenchmark.cpp
index 5bf1cbc..61cc777 100644
--- a/src/IOUringSocketHandlerBenchmark.cpp
+++ b/src/IOUringSocketHandlerBenchmark.cpp
@@ -131,7 +131,6 @@
     }
 
     long long received_messages = 0;
-    auto start_time = std::chrono::high_resolution_clock::now();
     long long total_latency = 0;
 
     while (received_messages < num_threads * NUM_MESSAGES_PER_THREAD) {
@@ -158,7 +157,6 @@
         }
     }
 
-    auto end_time = std::chrono::high_resolution_clock::now();
     average_latency = static_cast<double>(total_latency) / received_messages;
     return true;
 }
@@ -188,7 +186,6 @@
     pfd.events = POLLIN;
 
     long long received_messages = 0;
-    auto start_time = std::chrono::high_resolution_clock::now();
     long long total_latency = 0;
 
     while (received_messages < num_threads * NUM_MESSAGES_PER_THREAD) {
@@ -209,7 +206,6 @@
         }
     }
 
-    auto end_time = std::chrono::high_resolution_clock::now();
     average_latency = static_cast<double>(total_latency) / received_messages;
 }
 
diff --git a/src/IOUringSocketHandlerReceiver.cpp b/src/IOUringSocketHandlerReceiver.cpp
index dd4763f..4ed29a4 100644
--- a/src/IOUringSocketHandlerReceiver.cpp
+++ b/src/IOUringSocketHandlerReceiver.cpp
@@ -66,7 +66,6 @@
     }
 
     long long received_messages = 0;
-    auto start_time = std::chrono::high_resolution_clock::now();
     long long total_latency = 0;
 
     while (received_messages < num_threads * NUM_MESSAGES_PER_THREAD) {
@@ -93,7 +92,6 @@
         }
     }
 
-    auto end_time = std::chrono::high_resolution_clock::now();
     average_latency = static_cast<double>(total_latency) / received_messages;
     return true;
 }
@@ -123,7 +121,6 @@
     pfd.events = POLLIN;
 
     long long received_messages = 0;
-    auto start_time = std::chrono::high_resolution_clock::now();
     long long total_latency = 0;
 
     while (received_messages < num_threads * NUM_MESSAGES_PER_THREAD) {
@@ -144,7 +141,6 @@
         }
     }
 
-    auto end_time = std::chrono::high_resolution_clock::now();
     average_latency = static_cast<double>(total_latency) / received_messages;
 }
 
@@ -185,7 +181,6 @@
     }
 
     const size_t num_sender_threads = state.range(0);
-    const size_t blocking = state.range(1);
     uint64_t total_bytes_received = 0;
     double average_latency = 0;
     state.ResumeTiming();