mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Remove some unused nonsense
Summary: These blocks do nothing. end() produces a side effect on the internal array pointer, but the code does not depend on it. Test Plan: Reasoned about the code? Also viewed some diffs. Reviewers: vrana, btrahan, jungejason Reviewed By: vrana CC: aran Differential Revision: https://secure.phabricator.com/D1432
This commit is contained in:
parent
2d8b35db93
commit
8f1c7dc663
1 changed files with 0 additions and 14 deletions
|
@ -268,20 +268,6 @@ class DifferentialChangesetParser {
|
|||
$o_desc = array_pop($this->old);
|
||||
$n_desc = array_pop($this->new);
|
||||
|
||||
$oend = end($this->old);
|
||||
if ($oend) {
|
||||
$o_next = $oend['type'];
|
||||
} else {
|
||||
$o_next = null;
|
||||
}
|
||||
|
||||
$nend = end($this->new);
|
||||
if ($nend) {
|
||||
$n_next = $nend['type'];
|
||||
} else {
|
||||
$n_next = null;
|
||||
}
|
||||
|
||||
if ($o_desc) {
|
||||
$o_type = $o_desc['type'];
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue