GNU bug report logs - #18014
24.3; Unused Lexical argument warning, when argument is used in a function...

Previous Next

Package: emacs;

Reported by: Matthew Fidler <matthew.fidler <at> gmail.com>

Date: Mon, 14 Jul 2014 12:27:01 UTC

Severity: minor

Tags: notabug

Found in version 24.3

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Matthew Fidler <matthew.fidler <at> gmail.com>
Cc: 18014 <at> debbugs.gnu.org
Subject: bug#18014: 24.3; Unused Lexical argument warning, when argument is used in a	function...
Date: Mon, 14 Jul 2014 17:47:32 +0300
> Date: Mon, 14 Jul 2014 07:25:56 -0500
> From: Matthew Fidler <matthew.fidler <at> gmail.com>
> 
> I'm getting a warning  for ergoemacs-translate:
> 
> Compiling file
> e:/EmacsPortable.App/Data/src/ergoemacs-mode/ergoemacs-translate.el at Mon
> Jul 14 07:17:14 2014
> ergoemacs-translate.el:695:1:Warning: Unused lexical argument `key'
> 
> I do use the argument key to calculate the translation, but the compiler
> claims I am not.  I'm not sure if it is a bug in the warning or a bug in
> my code.  For now, I can change key to _key to ignore the warning, but I
> do think that this is an invalid warning.
> 
> Here is the offending function:

And which one is the offending line 695, please?




This bug report was last modified 9 years and 48 days ago.

Previous Next


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