Subject: bug#58865: closed (Re: bug#58865: 29.0.50; Warnings when compiling net/dbus.el)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 01 Nov 2022 15:41:02 +0000

Your bug report

#58865: 29.0.50; Warnings when compiling net/dbus.el

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
58865: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58865
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#58865: 29.0.50; Warnings when compiling net/dbus.el
From: Michael Albinus <[email-masked]>
To: Stefan Monnier <[email-masked]>
Cc: Arash Esbati <[email-masked]>, [email-masked]
Date: Tue, 01 Nov 2022 16:39:48 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 29.1

Stefan Monnier <[email-masked]> writes:

Hi Stefan,

> So I think the code requires a top-level (defvar dbus-debug).

Done, pushed to master. I'm closing the bug.

And thanks for the explanation!

>         Stefan

Best regards, Michael.

Subject: 29.0.50; Warnings when compiling net/dbus.el
From: Arash Esbati <[email-masked]>
To: emacs-bugs <[email-masked]>
Date: Sat, 29 Oct 2022 14:02:25 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi all,

building Emacs from master (f826f56a41) issues this warning:

  In dbus-register-signal:
  net/dbus.el:842:16: Warning: reference to free variable `dbus-debug'

  In dbus-check-event:
  net/dbus.el:1073:9: Warning: reference to free variable `dbus-debug'

  In dbus-handle-event:
  net/dbus.el:1160:47: Warning: reference to free variable `dbus-debug'
  net/dbus.el:1283:9: Warning: Variable `dbus-debug' left uninitialized
  net/dbus.el:1295:9: Warning: Variable `dbus-debug' left uninitialized
  net/dbus.el:1311:9: Warning: Variable `dbus-debug' left uninitialized
  net/dbus.el:1320:9: Warning: Variable `dbus-debug' left uninitialized
  net/dbus.el:1394:9: Warning: Variable `dbus-debug' left uninitialized
  net/dbus.el:1631:9: Warning: Variable `dbus-debug' left uninitialized
  net/dbus.el:1891:18: Warning: Variable `dbus-debug' left uninitialized
    ELC      net/dns.elc

  In dbus-register-monitor:
  net/dbus.el:2032:11: Warning: reference to free variable `dbus-debug'

  In dbus--init:
  net/dbus.el:2255:8: Warning: reference to free variable `dbus-debug'

Best, Arash