summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2020-05-01 15:03:10 +1200
committerAndreas Schneider <asn@cryptomilk.org>2020-05-08 09:31:31 +0000
commitc2b0071460c09eb24d12880e54e2f80c77834ebb (patch)
treec3235ba9a5d7e5281652f3f61999be5f51af1c73 /buildtools/wafsamba
parentd55812e4eee41fa913a9d102a54ee4d7f85fc2bc (diff)
downloadsamba-c2b0071460c09eb24d12880e54e2f80c77834ebb.tar.gz
Fix clang 9 unused-function warnings
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/samba_autoconf.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py
index f0491bcd36f..5534c2f6a9f 100644
--- a/buildtools/wafsamba/samba_autoconf.py
+++ b/buildtools/wafsamba/samba_autoconf.py
@@ -794,7 +794,6 @@ int main(void) {
conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Wno-error=format-nonliteral', testflags=True)
conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Wno-error=for-loop-analysis', testflags=True)
conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Wno-error=missing-field-initializers', testflags=True)
- conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Wno-error=unused-function', testflags=True)
if Options.options.fatal_errors:
conf.ADD_CFLAGS('-Wfatal-errors', testflags=True)