From da31e72605fe8b03c0be5b2c2aa220a816f2323b Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Wed, 18 Jan 2023 10:10:41 +0200 Subject: [PATCH] Subversion: Fix unused argument warning Amends 87e5ac74385ffcb8713510c9e243e2455cb17516. Change-Id: If4b8d631a5388d98f482097b20169e2200f7675a Reviewed-by: hjk --- src/plugins/subversion/subversionclient.cpp | 2 +- src/plugins/subversion/subversionclient.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/plugins/subversion/subversionclient.cpp b/src/plugins/subversion/subversionclient.cpp index d904255f28d..d5200f03faa 100644 --- a/src/plugins/subversion/subversionclient.cpp +++ b/src/plugins/subversion/subversionclient.cpp @@ -99,7 +99,7 @@ Id SubversionClient::vcsEditorKind(VcsCommandTag cmd) const } // Add authorization options to the command line arguments. -CommandLine &operator<<(Utils::CommandLine &command, const SubversionClient::AddAuthOptions &addAuth) +CommandLine &operator<<(Utils::CommandLine &command, SubversionClient::AddAuthOptions) { if (!s_settings->hasAuthentication()) return command; diff --git a/src/plugins/subversion/subversionclient.h b/src/plugins/subversion/subversionclient.h index 5b0bdb230df..bdfebce0a5b 100644 --- a/src/plugins/subversion/subversionclient.h +++ b/src/plugins/subversion/subversionclient.h @@ -60,8 +60,7 @@ private: mutable QString m_svnVersion; }; -Utils::CommandLine &operator<<(Utils::CommandLine &command, - const SubversionClient::AddAuthOptions &addAuth); +Utils::CommandLine &operator<<(Utils::CommandLine &command, SubversionClient::AddAuthOptions); } // namespace Internal } // namespace Subversion