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

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

bug#15327: 24.3; Incorrect "Unused lexical variable" warning with avl-tr


From: Christopher Wellons
Subject: bug#15327: 24.3; Incorrect "Unused lexical variable" warning with avl-tree-create
Date: Tue, 10 Sep 2013 14:40:32 -0400
User-agent: Notmuch/0.16 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu)

Sorry, I accidentally hit send early. If the above is compiled,

    $ emacs -Q -batch -f batch-byte-compile tmp.el
    In toplevel form:
    tmp.el:3:1:Warning: Unused lexical variable `cmpfun'
    Wrote /tmp/tmp.elc

Due to improper macro expansion of avl-tree-create by defstruct,

    (let
        ((cmpfun #'string<))
      (progn
        (vector 'cl-struct-avl-tree-
                (progn
                  (vector nil nil nil 0))
                #'string<)))





reply via email to

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