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

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

[nongnu] elpa/buttercup a37d1a0 325/340: Fix compilation warning about u


From: ELPA Syncer
Subject: [nongnu] elpa/buttercup a37d1a0 325/340: Fix compilation warning about undefined variable.
Date: Thu, 16 Dec 2021 15:00:00 -0500 (EST)

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

    Fix compilation warning about undefined variable.
    
    Dynamic variables always need to be defined before use.
---
 buttercup.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/buttercup.el b/buttercup.el
index 3b2154a..4e3635d 100644
--- a/buttercup.el
+++ b/buttercup.el
@@ -1338,6 +1338,9 @@ or a macro/special form.")
 A buffer with this name should only exist while running a test
 spec, and should be killed after running the spec.")
 
+(defvar buttercup-reporter-batch-quiet-statuses nil
+  "Do not print results for any spec with any of the listed statuses.")
+
 ;;;###autoload
 (defun buttercup-run-at-point ()
   "Run the buttercup suite at point."
@@ -1619,9 +1622,6 @@ EVENT and ARG are described in `buttercup-reporter'."
 (defvar buttercup-reporter-batch--failures nil
   "List of failed specs of the current batch report.")
 
-(defvar buttercup-reporter-batch-quiet-statuses nil
-  "Do not print results for any spec with any of the listed statuses.")
-
 (defvar buttercup-reporter-batch--suite-stack nil
   "Stack of unprinted suites.")
 



reply via email to

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