librpc-build: ignore unused functions in generated code
authorUri Simchoni <uri@samba.org>
Sun, 19 Nov 2017 11:34:01 +0000 (11:34 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 22 Nov 2017 09:20:20 +0000 (10:20 +0100)
commit9ad9f7bc5ea3932aa9e623290ef179fd211e17cb
treee8080b5fa0c94a2dc41f7b7b95f93d8dea085317
parenta74896d48f01456206fde51b4104c5dff0d9e39e
librpc-build: ignore unused functions in generated code

Some pidl-generated code includes static functions that are
to be optimized-away by the compiler if not used. When
running picky developer with clang that breaks the build. This
change ignores this warning for the pidl-generated python binding
files.

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/librpc/wscript_build