From 5b7fe8dce781facda40d49c5ac05b17a5e2de6bc Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 29 Sep 2024 19:53:44 +0200 Subject: [PATCH] Fix a warning Signed-off-by: falkTX --- .github/workflows/cmake.yml | 4 ++-- distrho/extra/WebViewImpl.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 3334fe83..4202a693 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -120,7 +120,7 @@ jobs: - name: Show built files working-directory: ${{runner.workspace}}/build/bin run: tree - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: Win32 artifacts path: ${{runner.workspace}}/build/bin/ @@ -158,7 +158,7 @@ jobs: - name: Show built files working-directory: ${{runner.workspace}}/build/bin run: tree - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: Win64 artifacts path: ${{runner.workspace}}/build/bin/ diff --git a/distrho/extra/WebViewImpl.cpp b/distrho/extra/WebViewImpl.cpp index c5c70ff4..eb725369 100644 --- a/distrho/extra/WebViewImpl.cpp +++ b/distrho/extra/WebViewImpl.cpp @@ -1734,7 +1734,7 @@ static bool qtwebengine(const int qtVersion, } }; - wakeFn = [=, &eventFilter](WebViewRingBuffer* const rb){ + wakeFn = [=, &eventFilter](WebViewRingBuffer*){ // NOTE event pointer is deleted by Qt QEvent* const qevent = new QEvent; QEvent__init(qevent, 1000 /* QEvent::User */);