https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69237
--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- (In reply to Franz Sirl from comment #2) > Or the '--fcount;'. Does the warning go away if you add braces like that: > > void pop(T* elem) { SkASSERT(fCount > 0); if (elem) { *elem = > (*this)[fCount - 1]; } --fCount; } Yes, sure. But does this warning really make sense for simple one-liners?