aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-02-04 21:54:23 -0500
committerDavid Robillard <d@drobilla.net>2023-02-04 21:54:23 -0500
commit0cf9b6d7db1d3c829b40cabebd3a81ef6eeb550e (patch)
tree92df5f82e8de46554c37873931afe65041bd8404 /src/writer.c
parentef11fc10080c7d531d9e97910e62b84d2388ec30 (diff)
downloadserd-0cf9b6d7db1d3c829b40cabebd3a81ef6eeb550e.tar.gz
serd-0cf9b6d7db1d3c829b40cabebd3a81ef6eeb550e.tar.bz2
serd-0cf9b6d7db1d3c829b40cabebd3a81ef6eeb550e.zip
Fix clang and clang-tidy warnings on Windows
Diffstat (limited to 'src/writer.c')
-rw-r--r--src/writer.c2
1 files changed, 1 insertions, 1 deletions
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);