https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88251
--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> --- The warning can also be avoided by using the snprintf return value and taking some action based on it (just returning it from a function isn't enough).