Permalink
Browse files

* lib/optparse.rb: suppress a warning.

* test/test_mutex_m.rb: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
1 parent 2f8ddcd commit e6f6033b16a64eb04f2e8c3ea970356a61ac1621 @akr akr committed Aug 10, 2010
Showing with 8 additions and 1 deletion.
  1. +6 −0 ChangeLog
  2. +1 −1 lib/optparse.rb
  3. +1 −0 test/test_mutex_m.rb
View
@@ -1,3 +1,9 @@
+Tue Aug 10 20:56:31 2010 Tanaka Akira <akr@fsij.org>
+
+ * lib/optparse.rb: suppress a warning.
+
+ * test/test_mutex_m.rb: ditto.
+
Tue Aug 10 20:56:13 2010 Tadayoshi Funaba <tadf@dotrb.org>
* lib/date/format.rb (Date::Format::Bag): use Struct.
View
@@ -1072,7 +1072,7 @@ def make_switch(opts, block = nil)
default_style = Switch::NoArgument
default_pattern = nil
klass = nil
- n, q, a = nil
+ q, a = nil
opts.each do |o|
# argument class
View
@@ -5,6 +5,7 @@
class TestMutexM < Test::Unit::TestCase
def test_cv_wait
o = Object.new
+ o.instance_variable_set(:@foo, nil)
o.extend(Mutex_m)
c = ConditionVariable.new
t = Thread.start {

0 comments on commit e6f6033

Please sign in to comment.