branch: elpa/rubocop
commit c54905256410ce2aed6725d5b5f7ed61d4ddc956
Merge: dcde702 f947fb0
Author: Bozhidar Batsov <bozhidar.bat...@gmail.com>
Commit: Bozhidar Batsov <bozhidar.bat...@gmail.com>

    Merge pull request #19 from syohex/byte-compile-warning
    
    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