Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
De-dup item_str in p6opaque.pmc
Eliminates build warnings
Closes RT #74996

Signed-off-by: Moritz Lenz <moritz@faui2k3.org>
  • Loading branch information
plobsing authored and moritz committed May 11, 2010
1 parent 53fda34 commit efbcce6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/pmc/p6opaque.pmc
Expand Up @@ -67,7 +67,6 @@ static STRING *Perl6Role_str;
static STRING *postcircumfix_str;
static STRING *proxy_str;
static STRING *pun_helper_str;
static STRING *item_str;
static STRING *select_str;
static STRING *Sub_str;
static STRING *Submethod_str;
Expand Down Expand Up @@ -307,7 +306,6 @@ pmclass P6opaque extends Object need_ext dynpmc group perl6_group auto_attrs {
postcircumfix_str = CONST_STRING(interp, "postcircumfix:<[ ]>");
proxy_str = CONST_STRING(interp, "proxy");
pun_helper_str = CONST_STRING(interp, "!pun_helper");
item_str = CONST_STRING(interp, "item");
select_str = CONST_STRING(interp, "!select");
Sub_str = CONST_STRING(interp, "Sub");
Submethod_str = CONST_STRING(interp, "Submethod");
Expand Down Expand Up @@ -400,7 +398,6 @@ back some kind of iterator to let us get all of the possible candidates.
!Parrot_str_equal(interp, name, ACCEPTS_str) &&
!Parrot_str_equal(interp, name, isa_str) &&
!Parrot_str_equal(interp, name, item_str) &&
!Parrot_str_equal(interp, name, item_str) &&
!Parrot_str_equal(interp, name, defined_str) &&
!Parrot_str_equal(interp, name, FETCH_str)) {
/* Look up closure maker, clone it, attach name and return that. */
Expand Down

0 comments on commit efbcce6

Please sign in to comment.