summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-23 07:00:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-23 07:00:01 +0000
commitcb62186b07659afa521467132ad865c94f938725 (patch)
tree571737504e1a8ec714dbce49d466db35d936e326 /hash.c
parentc25c84777cf0bc96a0b985ca1ffda09aa8052d24 (diff)
hash.c: fix commit miss
* hash.c (HAS_EXTRA_STATES): remove extra parenthesis. [Bug #9275] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hash.c b/hash.c
index c84968e..dc29683 100644
--- a/hash.c
+++ b/hash.c
@@ -28,9 +28,9 @@
#endif
#define HAS_EXTRA_STATES(hash, klass) ( \
- (klass = has_extra_methods(rb_obj_class(hash))) != 0 || \
- FL_TEST((hash), FL_EXIVAR|FL_TAINT|HASH_PROC_DEFAULT) || \
- !NIL_P(RHASH_IFNONE(hash))))
+ ((klass = has_extra_methods(rb_obj_class(hash))) != 0) || \
+ FL_TEST((hash), FL_EXIVAR|FL_TAINT|HASH_PROC_DEFAULT) || \
+ !NIL_P(RHASH_IFNONE(hash)))
#define HASH_REJECT_COPY_EXTRA_STATES 1
static VALUE