aboutsummaryrefslogtreecommitdiffstats
path: root/include/lv2/log
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-02-04 22:08:42 -0500
committerDavid Robillard <d@drobilla.net>2023-02-04 22:08:42 -0500
commitdbdbe3e518daf7b2f3f0e7587d8b2493b1d5a59e (patch)
treeabfc927bb311042b017c5d1ec7621251b453a219 /include/lv2/log
parent62d2e964e725bc8ca0841e9d532b65b083e7e027 (diff)
downloadlv2-dbdbe3e518daf7b2f3f0e7587d8b2493b1d5a59e.tar.xz
Fix clang and clang-tidy warnings in Windows
Diffstat (limited to 'include/lv2/log')
-rw-r--r--include/lv2/log/logger.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/lv2/log/logger.h b/include/lv2/log/logger.h
index 83cd653..37fe564 100644
--- a/include/lv2/log/logger.h
+++ b/include/lv2/log/logger.h
@@ -90,7 +90,7 @@ LV2_LOG_FUNC(2, 3)
static inline int
lv2_log_error(LV2_Log_Logger* logger, const char* fmt, ...)
{
- va_list args;
+ va_list args; // NOLINT(cppcoreguidelines-init-variables)
va_start(args, fmt);
const int ret = lv2_log_vprintf(logger, logger->Error, fmt, args);
va_end(args);
@@ -102,7 +102,7 @@ LV2_LOG_FUNC(2, 3)
static inline int
lv2_log_note(LV2_Log_Logger* logger, const char* fmt, ...)
{
- va_list args;
+ va_list args; // NOLINT(cppcoreguidelines-init-variables)
va_start(args, fmt);
const int ret = lv2_log_vprintf(logger, logger->Note, fmt, args);
va_end(args);
@@ -114,7 +114,7 @@ LV2_LOG_FUNC(2, 3)
static inline int
lv2_log_trace(LV2_Log_Logger* logger, const char* fmt, ...)
{
- va_list args;
+ va_list args; // NOLINT(cppcoreguidelines-init-variables)
va_start(args, fmt);
const int ret = lv2_log_vprintf(logger, logger->Trace, fmt, args);
va_end(args);
@@ -126,7 +126,7 @@ LV2_LOG_FUNC(2, 3)
static inline int
lv2_log_warning(LV2_Log_Logger* logger, const char* fmt, ...)
{
- va_list args;
+ va_list args; // NOLINT(cppcoreguidelines-init-variables)
va_start(args, fmt);
const int ret = lv2_log_vprintf(logger, logger->Warning, fmt, args);
va_end(args);