Cleanup: Fix compiler warning about NONNULL for va_list argument

Probably a copy-paste mistake.

Pull Request: https://projects.blender.org/blender/blender/pulls/151304
This commit is contained in:
Brecht Van Lommel 2025-12-08 14:09:11 +01:00 • committed by Brecht Van Lommel
parent 334b4efb66
commit 9dc7029801

View file

@ -220,7 +220,7 @@ char *BLI_vsprintfN_with_buffer(char *fixed_buf,
char *BLI_sprintfN(const char *__restrict format, ...) ATTR_WARN_UNUSED_RESULT
ATTR_NONNULL(1) ATTR_MALLOC ATTR_PRINTF_FORMAT(1, 2);
/** A version of #BLI_sprintfN that takes a #va_list. */
char *BLI_vsprintfN(const char *__restrict format, va_list args) ATTR_NONNULL(1, 2) ATTR_MALLOC
char *BLI_vsprintfN(const char *__restrict format, va_list args) ATTR_NONNULL(1) ATTR_MALLOC
ATTR_PRINTF_FORMAT(1, 0);
/**