aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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 /plugins
parent62d2e964e725bc8ca0841e9d532b65b083e7e027 (diff)
downloadlv2-dbdbe3e518daf7b2f3f0e7587d8b2493b1d5a59e.tar.xz
Fix clang and clang-tidy warnings in Windows
Diffstat (limited to 'plugins')
-rw-r--r--plugins/.clang-tidy1
-rw-r--r--plugins/eg-params.lv2/state_map.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/plugins/.clang-tidy b/plugins/.clang-tidy
index d7c1fb9..96d7f9f 100644
--- a/plugins/.clang-tidy
+++ b/plugins/.clang-tidy
@@ -9,6 +9,5 @@ Checks: >
-hicpp-signed-bitwise,
-llvm-header-guard,
-misc-unused-parameters,
- -modernize-macro-to-enum,
-readability-function-cognitive-complexity,
InheritParentConfig: true
diff --git a/plugins/eg-params.lv2/state_map.h b/plugins/eg-params.lv2/state_map.h
index a223243..2a29e09 100644
--- a/plugins/eg-params.lv2/state_map.h
+++ b/plugins/eg-params.lv2/state_map.h
@@ -68,7 +68,7 @@ state_map_init(
{
// Set dict entries from parameters
unsigned i = 0;
- va_list args;
+ va_list args; // NOLINT(cppcoreguidelines-init-variables)
va_start(args, handle);
for (const char* uri = NULL; (uri = va_arg(args, const char*)); ++i) {
const char* type = va_arg(args, const char*);