aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2021-01-29 21:06:02 +0100
committerStefan Kangas2021-01-29 21:06:02 +0100
commit47147db9b0f40c77657aff625048bbef5d32fb05 (patch)
treee6bb6a9c2968e0b078c021a9424afff93842448a
parentc7a86cb7ecb79cd07c66ce6a5af5fac32fc2fca4 (diff)
downloademacs-47147db9b0f40c77657aff625048bbef5d32fb05.tar.gz
emacs-47147db9b0f40c77657aff625048bbef5d32fb05.zip
; Silence byte-compiler
* lisp/net/sasl-ntlm.el (sasl-ntlm-request): * lisp/net/sasl.el (sasl-plain-response, sasl-login-response-1) (sasl-login-response-2, sasl-anonymous-response): Fix warnings introduced by my previous commit.
-rw-r--r--lisp/net/sasl-ntlm.el2
-rw-r--r--lisp/net/sasl.el8
2 files changed, 5 insertions, 5 deletions
diff --git a/lisp/net/sasl-ntlm.el b/lisp/net/sasl-ntlm.el
index 1ceb6d179ca..dfb7e713302 100644
--- a/lisp/net/sasl-ntlm.el
+++ b/lisp/net/sasl-ntlm.el
@@ -40,7 +40,7 @@
40 "A list of functions to be called in sequence for the NTLM 40 "A list of functions to be called in sequence for the NTLM
41authentication steps. They are called by `sasl-next-step'.") 41authentication steps. They are called by `sasl-next-step'.")
42 42
43(defun sasl-ntlm-request (client step) 43(defun sasl-ntlm-request (client _step)
44 "SASL step function to generate a NTLM authentication request to the server. 44 "SASL step function to generate a NTLM authentication request to the server.
45Called from `sasl-next-step'. 45Called from `sasl-next-step'.
46CLIENT is a vector [mechanism user service server sasl-client-properties] 46CLIENT is a vector [mechanism user service server sasl-client-properties]
diff --git a/lisp/net/sasl.el b/lisp/net/sasl.el
index aa4681f11c8..b7f814f7237 100644
--- a/lisp/net/sasl.el
+++ b/lisp/net/sasl.el
@@ -203,7 +203,7 @@ It contain at least 64 bits of entropy."
203(defconst sasl-plain-steps 203(defconst sasl-plain-steps
204 '(sasl-plain-response)) 204 '(sasl-plain-response))
205 205
206(defun sasl-plain-response (client step) 206(defun sasl-plain-response (client _step)
207 (let ((passphrase 207 (let ((passphrase
208 (sasl-read-passphrase 208 (sasl-read-passphrase
209 (format "PLAIN passphrase for %s: " (sasl-client-name client)))) 209 (format "PLAIN passphrase for %s: " (sasl-client-name client))))
@@ -229,12 +229,12 @@ It contain at least 64 bits of entropy."
229 sasl-login-response-1 229 sasl-login-response-1
230 sasl-login-response-2)) 230 sasl-login-response-2))
231 231
232(defun sasl-login-response-1 (client step) 232(defun sasl-login-response-1 (client _step)
233;;; (unless (string-match "^Username:" (sasl-step-data step)) 233;;; (unless (string-match "^Username:" (sasl-step-data step))
234;;; (sasl-error (format "Unexpected response: %s" (sasl-step-data step)))) 234;;; (sasl-error (format "Unexpected response: %s" (sasl-step-data step))))
235 (sasl-client-name client)) 235 (sasl-client-name client))
236 236
237(defun sasl-login-response-2 (client step) 237(defun sasl-login-response-2 (client _step)
238;;; (unless (string-match "^Password:" (sasl-step-data step)) 238;;; (unless (string-match "^Password:" (sasl-step-data step))
239;;; (sasl-error (format "Unexpected response: %s" (sasl-step-data step)))) 239;;; (sasl-error (format "Unexpected response: %s" (sasl-step-data step))))
240 (sasl-read-passphrase 240 (sasl-read-passphrase
@@ -250,7 +250,7 @@ It contain at least 64 bits of entropy."
250 '(ignore ;no initial response 250 '(ignore ;no initial response
251 sasl-anonymous-response)) 251 sasl-anonymous-response))
252 252
253(defun sasl-anonymous-response (client step) 253(defun sasl-anonymous-response (client _step)
254 (or (sasl-client-property client 'trace) 254 (or (sasl-client-property client 'trace)
255 (sasl-client-name client))) 255 (sasl-client-name client)))
256 256