mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 16:58:17 +00:00
message: Only require second (format) argument to be not NULL
This commit is contained in:
@@ -1636,7 +1636,7 @@ void msg_puts_attr_len(const char *const str, const ptrdiff_t len, int attr)
|
|||||||
/// @param[in] attr Highlight attributes.
|
/// @param[in] attr Highlight attributes.
|
||||||
/// @param[in] fmt Format string.
|
/// @param[in] fmt Format string.
|
||||||
void msg_printf_attr(const int attr, const char *const fmt, ...)
|
void msg_printf_attr(const int attr, const char *const fmt, ...)
|
||||||
FUNC_ATTR_NONNULL_ALL
|
FUNC_ATTR_NONNULL_ARG(2)
|
||||||
{
|
{
|
||||||
static char msgbuf[IOSIZE];
|
static char msgbuf[IOSIZE];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user