[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28107: 26.0.50; Byte compilation shows an unused var warning for an
From: |
Lars Ingebrigtsen |
Subject: |
bug#28107: 26.0.50; Byte compilation shows an unused var warning for an used variable |
Date: |
Wed, 12 Jun 2019 17:03:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Glenn Morris <rgm@gnu.org> writes:
> Tino Calancha wrote:
>
>> ;; -*- lexical-binding: t; -*-
>> (let ((x 1))
>> (and (equal (+ x 2) 3)))
>
> This code also does nothing. Compare with:
>
> (defun foo ()
> (let ((x 1))
> (and (equal (+ x 2) 3))))
>
> where the result is used (as the function return) and there is no warning.
So I don't think there's a bug here, and I'm closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#28107: 26.0.50; Byte compilation shows an unused var warning for an used variable,
Lars Ingebrigtsen <=