emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/buttercup c365dae776: Avoid a compilation warning.


From: ELPA Syncer
Subject: [nongnu] elpa/buttercup c365dae776: Avoid a compilation warning.
Date: Thu, 24 Mar 2022 17:57:55 -0400 (EDT)

branch: elpa/buttercup
commit c365dae776f823aa7489bcf0f750ca748fefdb28
Author: Philipp Stephani <phst@google.com>
Commit: Philipp Stephani <phst@google.com>

    Avoid a compilation warning.
    
    Currently, compilation prints a warning:
    
        In toplevel form:
        buttercup.el:1933:1: Warning: variable ‘_data’ not left unused
    
    The warning is incorrect (see
    https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26960), but I think it’s 
better
    to avoid the warning so that the file compiles cleanly.
---
 buttercup.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buttercup.el b/buttercup.el
index 5fa482ec8d..9d202fd981 100644
--- a/buttercup.el
+++ b/buttercup.el
@@ -1939,7 +1939,7 @@ ARGS according to `debugger'."
   (setq num-nonmacro-input-events (1+ num-nonmacro-input-events))
   (throw 'buttercup-debugger-continue
          (list 'failed args
-               (cl-destructuring-bind (_ (signal-type . _data)) args
+               (cl-destructuring-bind (_ (signal-type . data)) args
                  (unless (eq signal-type 'buttercup-pending)
                    (buttercup--backtrace))))))
 



reply via email to

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