summaryrefslogtreecommitdiffstats
path: root/test/test_sratom.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_sratom.c')
-rw-r--r--test/test_sratom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_sratom.c b/test/test_sratom.c
index 3fa2db6..ba59737 100644
--- a/test/test_sratom.c
+++ b/test/test_sratom.c
@@ -73,7 +73,7 @@ SRATOM_LOG_FUNC(1, 2)
static int
test_fail(const char* fmt, ...)
{
- va_list args;
+ va_list args; // NOLINT(cppcoreguidelines-init-variables)
va_start(args, fmt);
fprintf(stderr, "error: ");
vfprintf(stderr, fmt, args);