summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlle Jonsson <olle.jonsson@gmail.com>2021-01-29 09:29:33 +0100
committerGitHub <noreply@github.com>2021-01-29 17:29:33 +0900
commit5673d7cdd63856da56a3cd7f8344d17e8a44cd62 (patch)
tree7a778cf5f95622a76c6653d1e7b6bcee2252c29e
parent41ffb4b2dc08fce7ea253aed68a1366b68bf614b (diff)
downloadrake-compiler-5673d7cdd63856da56a3cd7f8344d17e8a44cd62.tar.gz
Avoid warning: assigned but unused variable - e (#185)
-rw-r--r--lib/rake/javaextensiontask.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rake/javaextensiontask.rb b/lib/rake/javaextensiontask.rb
index c4e7721..1489842 100644
--- a/lib/rake/javaextensiontask.rb
+++ b/lib/rake/javaextensiontask.rb
@@ -237,7 +237,7 @@ execute the Rake compilation task using the JRuby interpreter.
cpath = Java::java.lang.System.getProperty('java.class.path').split(File::PATH_SEPARATOR)
cpath += Java::java.lang.System.getProperty('sun.boot.class.path').split(File::PATH_SEPARATOR)
jruby_cpath = cpath.compact.join(File::PATH_SEPARATOR)
- rescue => e
+ rescue
end
end