diff options
author | Toni <matzeton@googlemail.com> | 2024-04-04 18:18:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-04 18:18:44 +0200 |
commit | df29e12f5efbe84306c1ee7c011a197caec6de50 (patch) | |
tree | 138e577b82f1a4776aac478cdcea6c29eb342c5d /src | |
parent | c0d3f8a92eb229a42c99373864059558483e7fbd (diff) |
Fixed yet another "unused function" warning. (#2365)
* seems like clang on `ubuntu-latest` warns about unused static inlined functions
```
In file included from ndpi_bitmap.c:41:
./third_party/include/roaring.h:422:19: error: unused function 'roaring_leading_zeroes' [-Werror,-Wunused-function]
static inline int roaring_leading_zeroes(unsigned long long input_num) {
..snip..
```
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Makefile.in b/src/lib/Makefile.in index fe74f58b7..e7a0c2dba 100644 --- a/src/lib/Makefile.in +++ b/src/lib/Makefile.in @@ -18,6 +18,7 @@ ifneq ($(OS),Windows_NT) CFLAGS += -fPIC -DPIC endif CFLAGS += -I. -I../include -Ithird_party/include -DNDPI_LIB_COMPILATION @NDPI_CFLAGS@ @GPROF_CFLAGS@ @CUSTOM_NDPI@ @ADDITIONAL_INCS@ +CFLAGS_ndpi_bitmap.c := -Wno-unused-function CFLAGS_third_party/src/gcrypt_light.c := -Wno-unused-function -Wno-unused-parameter CFLAGS_third_party/src/ahocorasick.c := -Wno-unused-function -Wno-unused-parameter CFLAGS_third_party/src/roaring.c := -Wno-unused-function -Wno-attributes |