branch: elpa/rubocop
commit f947fb0bed9b71aeb3ddaa5b84498bc515f2c2b9
Author: Syohei YOSHIDA <syo...@gmail.com>
Commit: Syohei YOSHIDA <syo...@gmail.com>

    Fix byte-compile warning about unused variable
---
 rubocop.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rubocop.el b/rubocop.el
index 0dce949..195c3e9 100644
--- a/rubocop.el
+++ b/rubocop.el
@@ -125,7 +125,7 @@ Alternatively prompt user for directory."
         (compilation-start
          (concat command " " (rubocop-local-file-name file-name))
          'compilation-mode
-         (lambda (arg) (rubocop-buffer-name file-name)))
+         (lambda (_arg) (rubocop-buffer-name file-name)))
       (error "Buffer is not visiting a file"))))
 
 ;;;###autoload

Reply via email to