This warning is known to produce false-positives unfortunately. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456