[X2Go-Commits] [x2goclient] 06/07: src/sshmasterconnection: explicitly mark function parameters as unused.
git-admin at x2go.org
git-admin at x2go.org
Wed May 20 09:41:12 CEST 2020
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goclient.
commit f1013314b88769dec38a9ebdd0e63b5e6119e03b
Author: Melroy van den Berg <melroy at melroy.org>
Date: Wed May 20 09:35:22 2020 +0200
src/sshmasterconnection: explicitly mark function parameters as unused.
---
debian/changelog | 1 +
src/sshmasterconnection.cpp | 9 +++------
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 067358b..32a5550 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,7 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium
- src/sshmasterconnection: fix 'when not' password auth. Avoids double
error messages.
- src/sshmasterconnection: correct retval check.
+ - src/sshmasterconnection: explicitly mark function parameters as unused.
-- X2Go Release Manager <git-admin at x2go.org> Thu, 13 Feb 2020 12:31:20 +0100
diff --git a/src/sshmasterconnection.cpp b/src/sshmasterconnection.cpp
index 9a4fd6f..3f9dc25 100644
--- a/src/sshmasterconnection.cpp
+++ b/src/sshmasterconnection.cpp
@@ -435,19 +435,16 @@ int SshMasterConnection::startTunnel(const QString& forwardHost, uint forwardPor
return proc->pid;
}
-void SshMasterConnection::slotSshProxyInteractionFinish(SshMasterConnection* connection)
-{
+void SshMasterConnection::slotSshProxyInteractionFinish (SshMasterConnection* connection /* unused */) {
x2goDebug<<"SSH proxy interaction finished";
slotSshProxyUserAuthError("NO_ERROR");
}
-void SshMasterConnection::slotSshProxyInteractionStart(SshMasterConnection* connection, QString prompt)
-{
+void SshMasterConnection::slotSshProxyInteractionStart (SshMasterConnection* connection /* unused */, QString prompt) {
emit startInteraction(this, prompt);
}
-void SshMasterConnection::slotSshProxyInteractionUpdate(SshMasterConnection* connection, QString output)
-{
+void SshMasterConnection::slotSshProxyInteractionUpdate (SshMasterConnection* connection /* unused */, QString output) {
emit updateInteraction(this, output);
}
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list