X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=libobjc%2Fprotocols.c;h=cc694c4a72e3caef466a5bdd5e35b85e1e636d5e;hb=2f8eaca53749e2d85f362c87dec608e2427af0d3;hp=05a750758c75a77ebdeb0d3638c97057351e68f2;hpb=1513d233fa496c0248268054f54e42f54464161e;p=pf3gnuchains%2Fgcc-fork.git diff --git a/libobjc/protocols.c b/libobjc/protocols.c index 05a750758c7..cc694c4a72e 100644 --- a/libobjc/protocols.c +++ b/libobjc/protocols.c @@ -69,9 +69,7 @@ __objc_protocols_add_protocol (const char *name, Protocol *object) Objective-C programs while trying to catch a problem that has never been seen in practice, so we don't do it. */ if (! objc_hash_is_key_in_hash (__protocols_hashtable, name)) - { - objc_hash_add (&__protocols_hashtable, name, object); - } + objc_hash_add (&__protocols_hashtable, name, object); objc_mutex_unlock (__protocols_hashtable_lock); }