]> git.eshelyaron.com Git - emacs.git/commitdiff
; * test/lisp/net/dbus-tests.el: silence compilation warnings
authorMattias EngdegÄrd <mattiase@acm.org>
Fri, 19 Jul 2024 17:35:35 +0000 (19:35 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 22 Jul 2024 10:32:31 +0000 (12:32 +0200)
(cherry picked from commit f591f477791aafbfe1086398fefdafed213b6ced)

test/lisp/net/dbus-tests.el

index d36c4924c75cf98e842ae70c1e0fb090e98fd924..1f0bd0b5f503aeffcc71d8418e71898a5c4abbe5 100644 (file)
@@ -26,6 +26,7 @@
 (require 'dbus)
 
 (defvar dbus-debug)
+(defvar dbus-message-type-signal)
 (declare-function dbus-get-unique-name "dbusbind.c" (bus))
 
 (defconst dbus--test-enabled-session-bus
@@ -732,7 +733,7 @@ is in progress."
     ;; Cleanup.
     (dbus-unregister-service :session dbus--test-service)))
 
-(defun dbus--test-method-authorizable-handler (&rest args)
+(defun dbus--test-method-authorizable-handler (&rest _args)
   "Method handler for `dbus-test04-call-method-authorizable'.
 Returns the respective error."
   `(:error ,dbus-error-interactive-authorization-required