From 0cf9b6d7db1d3c829b40cabebd3a81ef6eeb550e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 4 Feb 2023 21:54:23 -0500 Subject: Fix clang and clang-tidy warnings on Windows --- src/writer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/writer.c') diff --git a/src/writer.c b/src/writer.c index 341ee79b..575d3fb9 100644 --- a/src/writer.c +++ b/src/writer.c @@ -130,7 +130,7 @@ w_err(SerdWriter* writer, SerdStatus st, const char* fmt, ...) add a Cursor parameter so the source can notify the writer of the statement origin for better error reporting. */ - va_list args; + va_list args; // NOLINT(cppcoreguidelines-init-variables) va_start(args, fmt); const SerdError e = {st, (const uint8_t*)"", 0, 0, fmt, &args}; serd_error(writer->error_sink, writer->error_handle, &e); -- cgit v1.2.1