aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.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/reader.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/reader.c')
-rw-r--r--src/reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader.c b/src/reader.c
index 113c3e57..b386a76e 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -19,7 +19,7 @@
SerdStatus
r_err(SerdReader* const reader, const SerdStatus st, const char* const fmt, ...)
{
- va_list args;
+ va_list args; // NOLINT(cppcoreguidelines-init-variables)
va_start(args, fmt);
const Cursor* const cur = &reader->source.cur;
const SerdError e = {st, cur->filename, cur->line, cur->col, fmt, &args};