Bug 60596 - With Patch
| From: | Anthony Ferrara | Date: | Sat, 24 Dec 2011 17:22:25 +0000 |
| Subject: | Bug 60596 - With Patch | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-57091@lists.php.net to get a copy of this message | ||
Hey all,
I found a superfluous if statement while investigating another issue.
I submitted a bug to clean it up and attached a patch:
https://bugs.php.net/bug.php?id=60596
It's on line 56 of /ext/spl/spl_engine.c :
http://lxr.php.net/xref/PHP_TRUNK/ext/spl/spl_engine.c#56
It's really simple, and would likely be optimized away by the compiler
anyway, but I figured it was worth cleaning up...
Thanks,
Anthony