diff options
author | Ikalco <[email protected]> | 2024-12-18 19:56:01 -0600 |
---|---|---|
committer | GitHub <[email protected]> | 2024-12-19 02:56:01 +0100 |
commit | 5b714f05f87831e3e930af04649f853d5efb9902 (patch) | |
tree | 6a84cc910bcd00daaa94df98c6c13c6fbd6dfdbc /src/desktop | |
parent | 7c43eed2c1e6c56ab56d1bded4a6701b5598b1c3 (diff) | |
download | Hyprland-5b714f05f87831e3e930af04649f853d5efb9902.tar.gz Hyprland-5b714f05f87831e3e930af04649f853d5efb9902.zip |
internal: Make static analysis more happy (#8767)
* make functions used in 1 file static
* fix invalid substr param -1
* give default initializer to borderGradier
* move RASSERT from printf to std::print
Diffstat (limited to 'src/desktop')
-rw-r--r-- | src/desktop/Window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop/Window.cpp b/src/desktop/Window.cpp index c0752224..696bfc5b 100644 --- a/src/desktop/Window.cpp +++ b/src/desktop/Window.cpp @@ -473,7 +473,7 @@ PHLWINDOW CWindow::x11TransientFor() { return nullptr; } -void unregisterVar(void* ptr) { +static void unregisterVar(void* ptr) { ((CBaseAnimatedVariable*)ptr)->unregister(); } |