Skip to content

Commit

Permalink
Delete dead null-pointer check in op.c
Browse files Browse the repository at this point in the history
Code above this point has already used this variable without checking
whether it's null, so this can't accomplish anything.
  • Loading branch information
arc committed May 15, 2016
1 parent bf47000 commit 396ce25
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions op.c
Expand Up @@ -6858,9 +6858,6 @@ S_new_logop(pTHX_ I32 type, I32 flags, OP** firstp, OP** otherp)
}
}

if (!other)
return first;

if (type == OP_ANDASSIGN || type == OP_ORASSIGN || type == OP_DORASSIGN)
other->op_private |= OPpASSIGN_BACKWARDS; /* other is an OP_SASSIGN */

Expand Down

0 comments on commit 396ce25

Please sign in to comment.