From 5375c5be5f827dbb17452a08ce7193096e914a77 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Thu, 4 Apr 2024 19:38:47 +0200 Subject: Fixed yet another another "unused function" warning. * added `-Wextra` to the CI ``` In file included from ndpi_bitmap64_fuse.c:31: ./third_party/include/binaryfusefilter.h:31:24: error: unused function 'binary_fuse_rotl64' [-Werror,-Wunused-function] static inline uint64_t binary_fuse_rotl64(uint64_t n, unsigned int c) { ..snip.. ``` Signed-off-by: Toni Uhlig --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 516a569ce..0f0f8c880 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: name: Python Bindings (ubuntu-latest) runs-on: ubuntu-latest env: - CFLAGS: -Werror + CFLAGS: -Wextra -Werror steps: - uses: actions/checkout@v4 with: @@ -71,7 +71,7 @@ jobs: runs-on: ${{ matrix.os }} env: CC: ${{ matrix.compiler }} - CFLAGS: -Werror + CFLAGS: -Wextra -Werror strategy: fail-fast: true matrix: -- cgit v1.2.3