summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Fellinger <m.fellinger@gmail.com>2011-12-28 03:54:58 +0100
committerMichael Fellinger <m.fellinger@gmail.com>2011-12-28 03:54:58 +0100
commitb84f0ba39978cfa50cc459e43a3f02f57e0fdc54 (patch)
treecbe658c86ecd29ce94db79ea55204ebc172a5ac8
parent3663cb778740a58f60c7571db99f96c4c9174dd3 (diff)
downloadbacon-b84f0ba39978cfa50cc459e43a3f02f57e0fdc54.tar.gz
bacon-b84f0ba39978cfa50cc459e43a3f02f57e0fdc54.tar.xz
bacon-b84f0ba39978cfa50cc459e43a3f02f57e0fdc54.zip
Avoid warning about unused variable
-rw-r--r--lib/bacon.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bacon.rb b/lib/bacon.rb
index c3c4f4f..697719d 100644
--- a/lib/bacon.rb
+++ b/lib/bacon.rb
@@ -264,7 +264,7 @@ class Proc
 
   def change?
     pre_result = yield
-    called = call
+    call
     post_result = yield
     pre_result != post_result
   end