diff options
author | Günther Deschner <gd@samba.org> | 2011-02-11 16:04:28 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-02-11 16:06:06 +0100 |
commit | 7ff5bf56c85851a58f80ed9122f0817f60d11d69 (patch) | |
tree | 5fdfc9547e71090db454bb375eaa9e562bbb79d5 /source3/rpc_server | |
parent | 16af2539dc94bb35a629bc5a16efae8dd8cb5f91 (diff) | |
download | samba-7ff5bf56c85851a58f80ed9122f0817f60d11d69.tar.gz samba-7ff5bf56c85851a58f80ed9122f0817f60d11d69.tar.bz2 samba-7ff5bf56c85851a58f80ed9122f0817f60d11d69.zip |
s3-rpc_server: fix some buildwarnings in non-developer mode.
Guenther
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_rpc_register.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_rpc_register.c b/source3/rpc_server/srv_rpc_register.c index 634adfdd78..9d213ec486 100644 --- a/source3/rpc_server/srv_rpc_register.c +++ b/source3/rpc_server/srv_rpc_register.c @@ -255,7 +255,7 @@ static bool initshutdown_shutdown_cb(void *ptr) { return NT_STATUS_IS_OK(_rpc_ep_unregister(&ndr_table_initshutdown)); } - +#ifdef DEVELOPER static bool rpcecho_init_cb(void *ptr) { return NT_STATUS_IS_OK(_rpc_ep_register(&ndr_table_rpcecho, "rpcecho")); } @@ -264,7 +264,7 @@ static bool rpcecho_shutdown_cb(void *ptr) { return NT_STATUS_IS_OK(_rpc_ep_unregister(&ndr_table_rpcecho)); } - +#endif static bool netdfs_init_cb(void *ptr) { return NT_STATUS_IS_OK(_rpc_ep_register(&ndr_table_netdfs, "netdfs")); @@ -304,7 +304,9 @@ bool srv_rpc_register(struct messaging_context *msg_ctx) { struct rpc_srv_callbacks eventlog_cb; struct rpc_srv_callbacks initshutdown_cb; struct rpc_srv_callbacks netdfs_cb; +#ifdef DEVELOPER struct rpc_srv_callbacks rpcecho_cb; +#endif struct rpc_srv_callbacks dssetup_cb; struct rpc_srv_callbacks wkssvc_cb; |