bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#47080: 28.0.50; Spurious variable left uninitialized compiler warnin


From: Michael Heerdegen
Subject: bug#47080: 28.0.50; Spurious variable left uninitialized compiler warning
Date: Fri, 12 Mar 2021 01:39:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> This is perhaps the same problem that's causing this warning on the
> current Emacs trunk?
>
> In toplevel form:
> progmodes/sh-script.el:1050:1: Warning: Variable `syntax' left uninitialized

Looks indeed similar: the macro expansion (syntax-propertize-rules)
binds the variable warned about to `nil'.  The latest changes in the
byte compiler don't seem to handle this class of cases as we want.

> I was just looking at this, and it looks like a spurious warning, if I
> read the syntax-propertize-rules correctly.

I think we can wait for Stefan's reply.

Regards,

Michael.





reply via email to

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