diff options
author | Chris Robinson <[email protected]> | 2023-12-10 11:34:04 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-12-10 11:34:04 -0800 |
commit | 073d79c2047143e70bb199077fe3c8dbafe0a606 (patch) | |
tree | 2b565090f3d48166481f0aa685f70968e7ea837d /al | |
parent | 44fbc93909a1a1d1dc26c01feb32bf13a5140234 (diff) |
More clang-tidy cleanup
And suppress some warnings
Diffstat (limited to 'al')
-rw-r--r-- | al/eax/globals.h | 2 | ||||
-rw-r--r-- | al/effect.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/al/eax/globals.h b/al/eax/globals.h index ff05d009..4d501ff9 100644 --- a/al/eax/globals.h +++ b/al/eax/globals.h @@ -3,6 +3,7 @@ inline bool eax_g_is_enabled{true}; +/* NOLINTBEGIN(*-avoid-c-arrays) */ inline constexpr char eax1_ext_name[]{"EAX"}; inline constexpr char eax2_ext_name[]{"EAX2.0"}; inline constexpr char eax3_ext_name[]{"EAX3.0"}; @@ -16,5 +17,6 @@ inline constexpr char eax_eax_get_func_name[]{"EAXGet"}; inline constexpr char eax_eax_set_buffer_mode_func_name[]{"EAXSetBufferMode"}; inline constexpr char eax_eax_get_buffer_mode_func_name[]{"EAXGetBufferMode"}; +/* NOLINTEND(*-avoid-c-arrays) */ #endif // !EAX_GLOBALS_INCLUDED diff --git a/al/effect.h b/al/effect.h index 7c5c40dc..fef03475 100644 --- a/al/effect.h +++ b/al/effect.h @@ -34,7 +34,7 @@ enum { inline std::bitset<MAX_EFFECTS> DisabledEffects; struct EffectList { - const char name[16]; + const char name[16]; /* NOLINT(*-avoid-c-arrays) */ ALuint type; ALenum val; }; |