]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
refactor: Remove unused parameter
authorJoel Rosdahl <joel@rosdahl.net>
Thu, 14 May 2026 13:30:03 +0000 (15:30 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 14 May 2026 13:30:03 +0000 (15:30 +0200)
test/storage/client/main.cpp

index fec4b726912c0cf3af80446216f33c0adcc494ec..cc86422610ab2cfdc3ede4bd5c9e089dd032c61d 100644 (file)
@@ -230,7 +230,7 @@ cmd_stop(storage::remote::Client& client, const std::vector<std::string>& args)
 }
 
 int
-cmd_ping(storage::remote::Client& client, const std::vector<std::string>& args)
+cmd_ping(const std::vector<std::string>& args)
 {
   if (!args.empty()) {
     PRINT(stderr, "Error: ping takes no arguments\n");
@@ -289,7 +289,7 @@ main(int argc, char* argv[])
   }
 
   if (command == "ping") {
-    return cmd_ping(client, cmd_args);
+    return cmd_ping(cmd_args);
   } else if (command == "get") {
     return cmd_get(client, cmd_args);
   } else if (command == "put") {