summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/cli/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cli/main.go b/cmd/cli/main.go
index bbda060..275f147 100644
--- a/cmd/cli/main.go
+++ b/cmd/cli/main.go
@@ -82,7 +82,7 @@ func sendProfile(state *client.Client, data interface{}) {
// If OAuth is started we open the browser with the Auth URL
// If we ask for a profile, we send the profile using command line input
// Note that this has an additional argument, the vpn state which was wrapped into this callback function below.
-func stateCallback(state *client.Client, oldState client.FSMStateID, newState client.FSMStateID, data interface{}) {
+func stateCallback(state *client.Client, _ client.FSMStateID, newState client.FSMStateID, data interface{}) {
if newState == client.StateOAuthStarted {
openBrowser(data)
}