emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 47147db: ; Silence byte-compiler


From: Stefan Kangas
Subject: master 47147db: ; Silence byte-compiler
Date: Fri, 29 Jan 2021 15:06:09 -0500 (EST)

branch: master
commit 47147db9b0f40c77657aff625048bbef5d32fb05
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    ; 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.
---
 lisp/net/sasl-ntlm.el | 2 +-
 lisp/net/sasl.el      | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/lisp/net/sasl-ntlm.el b/lisp/net/sasl-ntlm.el
index 1ceb6d1..dfb7e71 100644
--- a/lisp/net/sasl-ntlm.el
+++ b/lisp/net/sasl-ntlm.el
@@ -40,7 +40,7 @@
   "A list of functions to be called in sequence for the NTLM
 authentication steps.  They are called by `sasl-next-step'.")
 
-(defun sasl-ntlm-request (client step)
+(defun sasl-ntlm-request (client _step)
   "SASL step function to generate a NTLM authentication request to the server.
 Called from `sasl-next-step'.
 CLIENT is a vector [mechanism user service server sasl-client-properties]
diff --git a/lisp/net/sasl.el b/lisp/net/sasl.el
index aa4681f..b7f814f 100644
--- a/lisp/net/sasl.el
+++ b/lisp/net/sasl.el
@@ -203,7 +203,7 @@ It contain at least 64 bits of entropy."
 (defconst sasl-plain-steps
   '(sasl-plain-response))
 
-(defun sasl-plain-response (client step)
+(defun sasl-plain-response (client _step)
   (let ((passphrase
         (sasl-read-passphrase
          (format "PLAIN passphrase for %s: " (sasl-client-name client))))
@@ -229,12 +229,12 @@ It contain at least 64 bits of entropy."
     sasl-login-response-1
     sasl-login-response-2))
 
-(defun sasl-login-response-1 (client step)
+(defun sasl-login-response-1 (client _step)
 ;;;  (unless (string-match "^Username:" (sasl-step-data step))
 ;;;    (sasl-error (format "Unexpected response: %s" (sasl-step-data step))))
   (sasl-client-name client))
 
-(defun sasl-login-response-2 (client step)
+(defun sasl-login-response-2 (client _step)
 ;;;  (unless (string-match "^Password:" (sasl-step-data step))
 ;;;    (sasl-error (format "Unexpected response: %s" (sasl-step-data step))))
   (sasl-read-passphrase
@@ -250,7 +250,7 @@ It contain at least 64 bits of entropy."
   '(ignore                             ;no initial response
     sasl-anonymous-response))
 
-(defun sasl-anonymous-response (client step)
+(defun sasl-anonymous-response (client _step)
   (or (sasl-client-property client 'trace)
       (sasl-client-name client)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]