From ae39e731fa081c8c817737f674420b895898617b Mon Sep 17 00:00:00 2001 From: Matt Brictson Date: Mon, 17 Apr 2017 17:45:44 -0700 Subject: Fix unused variable `e` warning (#32) --- lib/plist/parser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plist/parser.rb b/lib/plist/parser.rb index de441fc..367d35f 100644 --- a/lib/plist/parser.rb +++ b/lib/plist/parser.rb @@ -213,7 +213,7 @@ module Plist data = Base64.decode64(text.gsub(/\s+/, '')) unless text.nil? begin return Marshal.load(data) - rescue Exception => e + rescue Exception io = StringIO.new io.write data io.rewind -- cgit v1.2.1