[php-src] PR #15044: Remove bogus tree setting code from parentnode/tree.c
| From: | nielsdos | Date: | Sat, 20 Jul 2024 17:54:22 +0000 |
| Subject: | [php-src] PR #15044: Remove bogus tree setting code from parentnode/tree.c | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-27389@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15044
Author: nielsdos
I don't know why this code was here in the first place, it is present since the initial
implementation. It doesn't make sense because:
1. It would require updating the refcounts if the document wasn't actually already set.
2. We enforce that the document is the same as the target document by this point, so setting the
tree is pointless.