Closed RekGRpth closed 2 years ago
This is not a bug.
What cppcheck complains about is that indeed this assignment isn't necessary, but it's entirely harmless. Performance wise it won't matter, and if it did it's quite likely that any recent compiler would optimize it.
Anyway thanks for the report, I will change it it as the real benefit from that will be to reduce the width of this block.
Fixed with a lot of additional similar changes in https://github.com/powa-team/pg_qualstats/commit/36588438773168f9d3a2c1096e092e65500e63c5!