parser: remove unnecessary retains
authorScott Wood <scott@thor.buserror.net>
Mon, 7 Apr 2008 04:13:42 +0000 (23:13 -0500)
committerScott Wood <scott@thor.buserror.net>
Mon, 7 Apr 2008 04:13:42 +0000 (23:13 -0500)
idlcomp/cdlparse.y
idlcomp/idlparse.y

index ae5d00aab090b930ea99d46cf65aebb6d7d3b6c5..34135bdf75874779e75dce82875b103ede1f24e0 100644 (file)
@@ -344,8 +344,6 @@ qualified_decl:
                cur_strlist = new StrList;
        } qualified_ident_raw {
                $$.ident = cur_strlist->back();
-               $$.ident->retain();
-               
                cur_strlist->pop_back();
                
                if (!cur_strlist->empty())
index e15c7dd6f68794c58d734e6a91299ce2f6c60109..a6f30e9235181e570a955ab5f80179d77d236446 100644 (file)
@@ -725,8 +725,6 @@ qualified_ident:
 qualified_decl:
        qualified_ident_raw {
                $$.ident = cur_strlist->back();
-               $$.ident->retain();
-               
                cur_strlist->pop_back();
                
                if (!cur_strlist->empty())