Closed irwir closed 9 months ago
Thank you. Sure, but we can leave that optimization to the compiler. The code is consistent and readable as written.
There is irony in creating additional job for compilers in hope for a non-guaranteed optimization. Unfortunately, this kind of consistency also creates warnings from static analysers and compilers.
If you think readability would suffer, then the line simply could be commented out; maybe with a clarification.
Safe to remove because this local pointer was never used afterwards,