https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64383
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- clang generally doesn't care about false positives. And, the variable can be present just so that the dtor action is performed on it (similarly to how other variables are there just to perform the ctor action on it).