aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.c
diff options
context:
space:
mode:
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};