Skip to content

Commit 46a225c

Browse files
committed
Don't store Exception in a variable
1 parent 72c36eb commit 46a225c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/java/rmi/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def recv_return(opts = {})
110110

111111
begin
112112
return_data = Rex::Proto::Rmi::Model::ReturnData.decode(StringIO.new(data))
113-
rescue ::RuntimeError => e
113+
rescue ::RuntimeError
114114
return nil
115115
end
116116

0 commit comments

Comments
 (0)