GNU bug report logs - #12369
24.2.50; cl-loop: variable not left unused

Previous Next

Package: emacs;

Reported by: Christopher Schmidt <christopher <at> ch.ristopher.com>

Date: Thu, 6 Sep 2012 13:16:02 UTC

Severity: minor

Tags: confirmed

Found in version 24.2.50

Full log


View this message in rfc822 format

From: Christopher Schmidt <christopher <at> ch.ristopher.com>
To: 12369 <at> debbugs.gnu.org
Subject: bug#12369: 24.2.50; cl-loop: variable not left unused
Date: Thu,  6 Sep 2012 14:06:05 +0100 (BST)
severity: minor

    ;; -*- lexical-binding: t -*-

    (require 'cl-lib)
    (cl-loop for (rms . emacs) in nil)

Byte compile this piece of code.

    Warning: Unused lexical variable `rms'

Attempting to fix this warning by renaming rms to _rms results in
another warning.

    Warning: variable `_rms' not left unused

GNU Emacs 24.2.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of
2012-09-06.

        Christopher




This bug report was last modified 4 years and 8 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.