summaryrefslogtreecommitdiff
path: root/src/journal/compress.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-02-04 10:25:20 -0500
committerGitHub <noreply@github.com>2017-02-04 10:25:20 -0500
commitcfe5b07106e0b2049de542a4bdcf3334b0352bbe (patch)
tree53bc3fdb10720c9d33c3613ea24ba0f8de832aae /src/journal/compress.c
parentc37fb55bd856a62757e0b6673116959e645f85cf (diff)
Silence two "unused function af_lookup" warnings (#5222)
Gcc7 is smarter about detecting unused functions and detects those two functions which are unused in tests. But gperf generates them for us, so let's instead of removing tell gcc that we know they might be unused in the test code. In file included from ../src/test/test-af-list.c:29:0: ./src/basic/af-from-name.h:140:1: warning: ‘lookup_af’ defined but not used [-Wunused-function] lookup_af (register const char *str, register size_t len) ^~~~~~~~~ In file included from ../src/test/test-arphrd-list.c:29:0: ./src/basic/arphrd-from-name.h:125:1: warning: ‘lookup_arphrd’ defined but not used [-Wunused-function] lookup_arphrd (register const char *str, register size_t len) ^~~~~~~~~~~~~
Diffstat (limited to 'src/journal/compress.c')
0 files changed, 0 insertions, 0 deletions